AuthChallenge.fromJson constructor
Implementation
factory AuthChallenge.fromJson(Map<String, dynamic> json) {
return AuthChallenge(
source:
json.containsKey('source')
? AuthChallengeSource.fromJson(json['source'] as String)
: null,
origin: json['origin'] as String,
scheme: json['scheme'] as String,
realm: json['realm'] as String,
);
}