fromMap static method

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

Construct from Map.

Implementation

static FirebaseAuthenticationSettingsIos? fromMap(
    Map<String, dynamic>? _map) {
  if (_map == null) return null;
  var _ = _map["@type"];
  if (_ != CONSTRUCTOR) return null;
  var extra = _map['@extra'];
  var clientId = _map['@clientId'];
  var device_token = _map['device_token']! as String;
  var is_app_sandbox = _map['is_app_sandbox']! as bool;
  return FirebaseAuthenticationSettingsIos(
    extra: extra,
    clientId: clientId,
    device_token: device_token,
    is_app_sandbox: is_app_sandbox,
  );
}