toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'color': color.toJson(),
  'x': x,
  'y': y,
  'blur': blur,
  'spread': spread,
};