TestAuthorizationResponse.fromJson constructor

TestAuthorizationResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TestAuthorizationResponse.fromJson(Map<String, dynamic> json) {
  return TestAuthorizationResponse(
    authResults: (json['authResults'] as List?)
        ?.whereNotNull()
        .map((e) => AuthResult.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}