responseFactory method

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

Deserializes the JSON response into the expected type.

Implementation

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