create static method

PremiumFeatureMessagePrivacy create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "premiumFeatureMessagePrivacy",
  3. String special_return_type = "premiumFeature",
})
override

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

Implementation

static PremiumFeatureMessagePrivacy create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "premiumFeatureMessagePrivacy",
  String special_return_type = "premiumFeature",
}) {
  // PremiumFeatureMessagePrivacy premiumFeatureMessagePrivacy = PremiumFeatureMessagePrivacy({
  final Map premiumFeatureMessagePrivacy_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
  };

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

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