create static method
PageBlockTableCell
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "pageBlockTableCell",
- String special_return_type = "pageBlockTableCell",
- RichText? text,
- bool? is_header,
- num? colspan,
- num? rowspan,
- PageBlockHorizontalAlignment? align,
- PageBlockVerticalAlignment? valign,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static PageBlockTableCell create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "pageBlockTableCell",
String special_return_type = "pageBlockTableCell",
RichText? text,
bool? is_header,
num? colspan,
num? rowspan,
PageBlockHorizontalAlignment? align,
PageBlockVerticalAlignment? valign,
}) {
// PageBlockTableCell pageBlockTableCell = PageBlockTableCell({
final Map pageBlockTableCell_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"text": (text != null) ? text.toJson() : null,
"is_header": is_header,
"colspan": colspan,
"rowspan": rowspan,
"align": (align != null) ? align.toJson() : null,
"valign": (valign != null) ? valign.toJson() : null,
};
pageBlockTableCell_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (pageBlockTableCell_data_create_json.containsKey(key) == false) {
pageBlockTableCell_data_create_json[key] = value;
}
});
}
return PageBlockTableCell(pageBlockTableCell_data_create_json);
}