static Future fromResponse()

in lib/client/client.dart [38:49]


  static Future<NextInvocation> fromResponse(
      HttpClientResponse response) async {
    return NextInvocation(
        response: json
            .decode((await response.transform(Utf8Decoder()).toList()).first),
        requestId: response.headers.value(runtimeRequestId),
        deadlineMs: response.headers.value(runtimeDeadlineMs),
        invokedFunctionArn: response.headers.value(runtimeInvokedFunctionArn),
        traceId: response.headers.value(runtimeTraceId),
        clientContext: response.headers.value(runtimeClientContext),
        cognitoIdentity: response.headers.value(runtimeCognitoIdentity));
  }