responseFactory method

  1. @override
SuccessResponse responseFactory(
  1. Map<String, dynamic> json
)
override

Deserializes the JSON response into the expected type.

Implementation

@override
SuccessResponse responseFactory(Map<String, dynamic> json) => SuccessResponse.fromJson(json);