fromJson static method
Implementation
static BrushLayerData fromJson(Map json) {
var layer = BrushLayerData(
color: Color(json['color']),
strokeWidth: json['strokeWidth'],
maxWidth: json['maxWidth'],
);
layer.copyFrom(json);
return layer;
}