RespondToAuthChallengeResponse.fromJson constructor
Implementation
factory RespondToAuthChallengeResponse.fromJson(Map<String, dynamic> json) {
return RespondToAuthChallengeResponse(
authenticationResult: json['AuthenticationResult'] != null
? AuthenticationResultType.fromJson(
json['AuthenticationResult'] as Map<String, dynamic>)
: null,
challengeName: (json['ChallengeName'] as String?)?.toChallengeNameType(),
challengeParameters:
(json['ChallengeParameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
session: json['Session'] as String?,
);
}