fromMap static method

FirebaseAuthenticationSettings? fromMap(
  1. Map<String, dynamic>? _map
)
override

Construct from Map.

Implementation

static FirebaseAuthenticationSettings? fromMap(Map<String, dynamic>? _map) {
  if (_map == null) return null;
  var _ = _map["@type"];
  switch (_) {
    case 'firebaseAuthenticationSettingsIos':
      return FirebaseAuthenticationSettingsIos.fromMap(_map);
    case 'firebaseAuthenticationSettingsAndroid':
      return FirebaseAuthenticationSettingsAndroid.fromMap(_map);
    case null:
    default:
      return null;
  }
}