responseFactory method

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

Deserializes the JSON response into the expected type.

Implementation

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