AwsALBResponse.fromString constructor

AwsALBResponse.fromString(
  1. String body, {
  2. bool? isBase64Encoded,
  3. int? statusCode,
  4. String? statusDescription,
  5. Map<String, String>? headers,
})

Implementation

factory AwsALBResponse.fromString(
  String body, {
  bool? isBase64Encoded,
  int? statusCode,
  String? statusDescription,
  Map<String, String>? headers,
}) {
  return AwsALBResponse(
      body: body,
      headers: headers,
      isBase64Encoded: isBase64Encoded,
      statusCode: statusCode,
      statusDescription: statusDescription);
}