FetchResponse.fromJson constructor

FetchResponse.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory FetchResponse.fromJson(Map<String, dynamic> map) {
  return FetchResponse(
    map['body'],
    map['ok'],
    map['statusCode'],
    map['statusText'],
    map['arrayBuffer'],
  );
}