create static method
PackagexPubspecPlatforms
create({
- String special_type = "packagexPubspecPlatforms",
- Object? android,
- Object? ios,
- Object? linux,
- Object? macos,
- Object? web,
- Object? windows,
override
return original data json
Implementation
static PackagexPubspecPlatforms create({
String special_type = "packagexPubspecPlatforms",
Object? android,
Object? ios,
Object? linux,
Object? macos,
Object? web,
Object? windows,
}) {
// PackagexPubspecPlatforms packagexPubspecPlatforms = PackagexPubspecPlatforms({
Map packagexPubspecPlatforms_data_create_json = {
"@type": special_type,
"android": android,
"ios": ios,
"linux": linux,
"macos": macos,
"web": web,
"windows": windows,
};
packagexPubspecPlatforms_data_create_json
.removeWhere((key, value) => value == null);
PackagexPubspecPlatforms packagexPubspecPlatforms_data_create =
PackagexPubspecPlatforms(packagexPubspecPlatforms_data_create_json);
return packagexPubspecPlatforms_data_create;
}