LayerPaintedEvent.fromJson constructor
Implementation
factory LayerPaintedEvent.fromJson(Map<String, dynamic> json) {
return LayerPaintedEvent(
layerId: LayerId.fromJson(json['layerId'] as String),
clip: dom.Rect.fromJson(json['clip'] as Map<String, dynamic>),
);
}