parseResponse method

  1. @override
Current parseResponse(
  1. dynamic json
)
override

Subclasses should implement this method to parse the response from the API. Is used in the request method.

Implementation

@override
Current parseResponse(dynamic json) => Current.fromJson(json);