HttpRouteHttpDirectResponse.fromJson constructor

HttpRouteHttpDirectResponse.fromJson(
  1. Map json_
)

Implementation

HttpRouteHttpDirectResponse.fromJson(core.Map json_)
    : this(
        bytesBody: json_.containsKey('bytesBody')
            ? json_['bytesBody'] as core.String
            : null,
        status:
            json_.containsKey('status') ? json_['status'] as core.int : null,
        stringBody: json_.containsKey('stringBody')
            ? json_['stringBody'] as core.String
            : null,
      );