toJson method

dynamic toJson()

Implementation

dynamic toJson() {
  return <String, dynamic>{
    'color': color.toJson(),
    'offset': offset.toJson(),
    'blurRadius': blurRadius,
  };
}