create static method

GetBotSimilarBotCount create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "getBotSimilarBotCount",
  3. String special_return_type = "count",
  4. bool? is_tdlib_method,
  5. num? bot_user_id,
  6. bool? return_local,
})
override

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

static GetBotSimilarBotCount create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "getBotSimilarBotCount",
  String special_return_type = "count",
  bool? is_tdlib_method,
  num? bot_user_id,
  bool? return_local,
}) {
  // GetBotSimilarBotCount getBotSimilarBotCount = GetBotSimilarBotCount({
  final Map getBotSimilarBotCount_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "is_tdlib_method": is_tdlib_method,
    "bot_user_id": bot_user_id,
    "return_local": return_local,
  };

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

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