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