create static method

UpdateChatDefaultDisableNotification create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "updateChatDefaultDisableNotification",
  3. String special_return_type = "update",
  4. num? chat_id,
  5. bool? default_disable_notification,
})
override

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

Implementation

static UpdateChatDefaultDisableNotification create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "updateChatDefaultDisableNotification",
  String special_return_type = "update",
  num? chat_id,
  bool? default_disable_notification,
}) {
  // UpdateChatDefaultDisableNotification updateChatDefaultDisableNotification = UpdateChatDefaultDisableNotification({
  final Map updateChatDefaultDisableNotification_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "chat_id": chat_id,
    "default_disable_notification": default_disable_notification,
  };

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

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