FirebaseAuthenticationSettings.fromJson constructor
a FirebaseAuthenticationSettings return type can be :
Implementation
factory FirebaseAuthenticationSettings.fromJson(Map<String, dynamic> json) {
switch (json["@type"]) {
case FirebaseAuthenticationSettingsAndroid.CONSTRUCTOR:
return FirebaseAuthenticationSettingsAndroid.fromJson(json);
case FirebaseAuthenticationSettingsIos.CONSTRUCTOR:
return FirebaseAuthenticationSettingsIos.fromJson(json);
default:
return const FirebaseAuthenticationSettings();
}
}