fromMap static method
override
Construct from Map.
Implementation
static PageBlockTableCell? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var text = RichText.fromMap(_map['text']);
var is_header = _map['is_header']! as bool;
var colspan = _map['colspan']! as int;
var rowspan = _map['rowspan']! as int;
var align = PageBlockHorizontalAlignment.fromMap(_map['align'])!;
var valign = PageBlockVerticalAlignment.fromMap(_map['valign'])!;
return PageBlockTableCell(
extra: extra,
clientId: clientId,
text: text,
is_header: is_header,
colspan: colspan,
rowspan: rowspan,
align: align,
valign: valign,
);
}