CognitoOptions.fromJson constructor
Implementation
factory CognitoOptions.fromJson(Map<String, dynamic> json) {
return CognitoOptions(
enabled: json['Enabled'] as bool?,
identityPoolId: json['IdentityPoolId'] as String?,
roleArn: json['RoleArn'] as String?,
userPoolId: json['UserPoolId'] as String?,
);
}