responseFactory method

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

Deserializes the JSON response into the expected type.

Implementation

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