AuthChallengeResponse.fromJson constructor
Implementation
factory AuthChallengeResponse.fromJson(Map<String, dynamic> json) {
return AuthChallengeResponse(
response:
AuthChallengeResponseResponse.fromJson(json['response'] as String),
username:
json.containsKey('username') ? json['username'] as String : null,
password:
json.containsKey('password') ? json['password'] as String : null,
);
}