AuthResponse.fromJson constructor

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

Implementation

factory AuthResponse.fromJson(Map<String, dynamic> json) {
  return AuthResponse(
    responseCode: json['responseCode'],
    institutionId: json['institutionId'],
    authToken: json['auth_token'],
    expiry: json['expiry'],
  );
}