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