responseFactory method

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

Implementation

@override
List<RegistrationApplicationView> responseFactory(
  Map<String, dynamic> json,
) =>
    (json['registration_applications'] as List)
        .map((dynamic e) => RegistrationApplicationView.fromJson(e))
        .toList();