PRectangleElement.fromJson constructor
Implementation
factory PRectangleElement.fromJson(Map<String, dynamic> j) =>
PRectangleElement(
style: PStyle.fromJson(j['style']),
pos: Position.fromJson(j['position']),
dimension: PDimension.fromJson(j['dimension']),
zIndex: j.containsKey('zIndex') ? parseInt(j['zIndex']) : null,
);