create static method

FirebaseAuthenticationSettings create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "firebaseAuthenticationSettings",
  3. bool special_is_json_scheme_class = true,
  4. String special_return_type = "firebaseAuthenticationSettings",
  5. FirebaseAuthenticationSettingsAndroid? firebase_authentication_settings_android,
  6. FirebaseAuthenticationSettingsIos? firebase_authentication_settings_ios,
})
override

Generate By General Universe Script Dont edit by hand or anything manual

Implementation

static FirebaseAuthenticationSettings create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "firebaseAuthenticationSettings",
  bool special_is_json_scheme_class = true,
  String special_return_type = "firebaseAuthenticationSettings",
  FirebaseAuthenticationSettingsAndroid? firebase_authentication_settings_android,
  FirebaseAuthenticationSettingsIos? firebase_authentication_settings_ios,
}) {
  // FirebaseAuthenticationSettings firebaseAuthenticationSettings = FirebaseAuthenticationSettings({
  final Map firebaseAuthenticationSettings_data_create_json = {
    "@type": special_type,
    "@is_json_scheme_class": special_is_json_scheme_class,
    "@return_type": special_return_type,
    "firebase_authentication_settings_android": (firebase_authentication_settings_android != null) ? firebase_authentication_settings_android.toJson() : null,
    "firebase_authentication_settings_ios": (firebase_authentication_settings_ios != null) ? firebase_authentication_settings_ios.toJson() : null,
  };

  firebaseAuthenticationSettings_data_create_json.removeWhere((key, value) => value == null);

  if (schemeUtilsIsSetDefaultData) {
    defaultData.forEach((key, value) {
      if (firebaseAuthenticationSettings_data_create_json.containsKey(key) == false) {
        firebaseAuthenticationSettings_data_create_json[key] = value;
      }
    });
  }
  return FirebaseAuthenticationSettings(firebaseAuthenticationSettings_data_create_json);
}