create static method
StarCount
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "starCount",
- String special_return_type = "starCount",
- num? star_count,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static StarCount create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "starCount",
String special_return_type = "starCount",
num? star_count,
}) {
// StarCount starCount = StarCount({
final Map starCount_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"star_count": star_count,
};
starCount_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (starCount_data_create_json.containsKey(key) == false) {
starCount_data_create_json[key] = value;
}
});
}
return StarCount(starCount_data_create_json);
}