responseFactory method

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

Deserializes the JSON response into the expected type.

Implementation

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