fromJson static method
Implementation
static ImageLayerData fromJson(Map json) {
var layer = ImageLayerData(
image: ImageItem.fromJson(json['image']),
size: json['size'],
);
layer.copyFrom(json);
return layer;
}
static ImageLayerData fromJson(Map json) {
var layer = ImageLayerData(
image: ImageItem.fromJson(json['image']),
size: json['size'],
);
layer.copyFrom(json);
return layer;
}