toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['hOffset'] = hOffset;
data['vOffset'] = vOffset;
data['blur'] = blur;
data['spread'] = spread;
data['color'] = color;
return data;
}