create static method

PackagexConfigFlutterCommands create({
  1. String special_type = "packagexConfigFlutterCommands",
  2. bool? obfuscate,
  3. String? split_debug_info,
  4. String? build_name,
  5. num? build_number,
  6. bool? split_per_abi,
  7. bool? no_tree_shake_icons,
})
override

return original data json

Implementation

static PackagexConfigFlutterCommands create({
  String special_type = "packagexConfigFlutterCommands",
  bool? obfuscate,
  String? split_debug_info,
  String? build_name,
  num? build_number,
  bool? split_per_abi,
  bool? no_tree_shake_icons,
}) {
  // PackagexConfigFlutterCommands packagexConfigFlutterCommands = PackagexConfigFlutterCommands({
  Map packagexConfigFlutterCommands_data_create_json = {
    "@type": special_type,
    "obfuscate": obfuscate,
    "split-debug-info": split_debug_info,
    "build-name": build_name,
    "build-number": build_number,
    "split-per-abi": split_per_abi,
    "no-tree-shake-icons": no_tree_shake_icons,
  };

  packagexConfigFlutterCommands_data_create_json
      .removeWhere((key, value) => value == null);
  PackagexConfigFlutterCommands packagexConfigFlutterCommands_data_create =
      PackagexConfigFlutterCommands(
          packagexConfigFlutterCommands_data_create_json);

  return packagexConfigFlutterCommands_data_create;
}