create static method

PackagexPubspecDevDependencies create({
  1. String special_type = "packagexPubspecDevDependencies",
  2. String? lints,
  3. String? test,
  4. PackagexPubspecDevDependenciesExtra? packagex,
  5. String? msix,
})
override

return original data json

Implementation

static PackagexPubspecDevDependencies create({
  String special_type = "packagexPubspecDevDependencies",
  String? lints,
  String? test,
  PackagexPubspecDevDependenciesExtra? packagex,
  String? msix,
}) {
  // PackagexPubspecDevDependencies packagexPubspecDevDependencies = PackagexPubspecDevDependencies({
  Map packagexPubspecDevDependencies_data_create_json = {
    "@type": special_type,
    "lints": lints,
    "test": test,
    "packagex": (packagex != null) ? packagex.toJson() : null,
    "msix": msix,
  };

  packagexPubspecDevDependencies_data_create_json
      .removeWhere((key, value) => value == null);
  PackagexPubspecDevDependencies packagexPubspecDevDependencies_data_create =
      PackagexPubspecDevDependencies(
          packagexPubspecDevDependencies_data_create_json);

  return packagexPubspecDevDependencies_data_create;
}