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