parseResponse function

FutureOr<Response> parseResponse(
  1. String? response
)

Implementation

FutureOr<Response> parseResponse(String? response) {
  dynamic parsed = jsonDecode(response!);
  return Response.fromJson(parsed);
}