create static method
PageBlockTable
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "pageBlockTable",
- String special_return_type = "pageBlock",
- RichText? caption,
- List<
List< ? cells,PageBlockTableCell> > - bool? is_bordered,
- bool? is_striped,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static PageBlockTable create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "pageBlockTable",
String special_return_type = "pageBlock",
RichText? caption,
List<List<PageBlockTableCell>>? cells,
bool? is_bordered,
bool? is_striped,
}) {
// PageBlockTable pageBlockTable = PageBlockTable({
final Map pageBlockTable_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"caption": (caption != null) ? caption.toJson() : null,
"cells": (cells != null) ? cells.map((res) => res.map((e) => e.toJson()).toList().cast<Map>()).toList().cast<List<Map>>() : null,
"is_bordered": is_bordered,
"is_striped": is_striped,
};
pageBlockTable_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (pageBlockTable_data_create_json.containsKey(key) == false) {
pageBlockTable_data_create_json[key] = value;
}
});
}
return PageBlockTable(pageBlockTable_data_create_json);
}