FetchResponse.fromMap constructor

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

Implementation

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