fromJson static method

BackgroundBlurLayerData fromJson(
  1. Map json
)
override

Implementation

static BackgroundBlurLayerData fromJson(Map json) {
  var layer = BackgroundBlurLayerData(
    color: Color(json['color']),
    radius: json['radius'],
  );

  layer.copyFrom(json);
  return layer;
}