fromJson static method

ImageLayerData fromJson(
  1. Map json
)
override

Implementation

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

  layer.copyFrom(json);
  return layer;
}