create static method

PageBlockTableCell create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "pageBlockTableCell",
  3. String special_return_type = "pageBlockTableCell",
  4. RichText? text,
  5. bool? is_header,
  6. num? colspan,
  7. num? rowspan,
  8. PageBlockHorizontalAlignment? align,
  9. 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);
}