create static method
PackagexPubspecDevDependencies
create({
- String special_type = "packagexPubspecDevDependencies",
- String? lints,
- String? test,
- PackagexPubspecDevDependenciesExtra? packagex,
- 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;
}