fromMap static method
override
Construct from Map.
Implementation
static EmailAddressAuthentication? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'emailAddressAuthenticationAppleId':
return EmailAddressAuthenticationAppleId.fromMap(_map);
case 'emailAddressAuthenticationGoogleId':
return EmailAddressAuthenticationGoogleId.fromMap(_map);
case 'emailAddressAuthenticationCode':
return EmailAddressAuthenticationCode.fromMap(_map);
case null:
default:
return null;
}
}