AdditionalAuthenticationProvider.fromJson constructor
AdditionalAuthenticationProvider.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AdditionalAuthenticationProvider.fromJson(Map<String, dynamic> json) {
return AdditionalAuthenticationProvider(
authenticationType:
(json['authenticationType'] as String?)?.toAuthenticationType(),
openIDConnectConfig: json['openIDConnectConfig'] != null
? OpenIDConnectConfig.fromJson(
json['openIDConnectConfig'] as Map<String, dynamic>)
: null,
userPoolConfig: json['userPoolConfig'] != null
? CognitoUserPoolConfig.fromJson(
json['userPoolConfig'] as Map<String, dynamic>)
: null,
);
}