responseFactory method

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

Deserializes the JSON response into the expected type.

Implementation

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