create static method

PackagexPubspecDependencies create({
  1. String special_type = "packagexPubspecDependencies",
  2. PackagexPubspecDependenciesExtra? flutter,
  3. String? cupertino_icons,
})
override

return original data json

Implementation

static PackagexPubspecDependencies create({
  String special_type = "packagexPubspecDependencies",
  PackagexPubspecDependenciesExtra? flutter,
  String? cupertino_icons,
}) {
  // PackagexPubspecDependencies packagexPubspecDependencies = PackagexPubspecDependencies({
  Map packagexPubspecDependencies_data_create_json = {
    "@type": special_type,
    "flutter": (flutter != null) ? flutter.toJson() : null,
    "cupertino_icons": cupertino_icons,
  };

  packagexPubspecDependencies_data_create_json
      .removeWhere((key, value) => value == null);
  PackagexPubspecDependencies packagexPubspecDependencies_data_create =
      PackagexPubspecDependencies(
          packagexPubspecDependencies_data_create_json);

  return packagexPubspecDependencies_data_create;
}