page_blocks property

List<PageBlock> get page_blocks

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

List<PageBlock> get page_blocks {
  try {
    if (rawData["page_blocks"] is List == false) {
      return [];
    }
    return (rawData["page_blocks"] as List).map((e) => PageBlock(e as Map)).toList().cast<PageBlock>();
  } catch (e) {
    return [];
  }
}
set page_blocks (List<PageBlock> values)

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

set page_blocks(List<PageBlock> values) {
  rawData["page_blocks"] = values.map((value) => value.toJson()).toList();
}