toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final color = this.color;
  final dashStyle = this.dashStyle;
  final width = this.width;
  return {'color': ?color, 'dashStyle': ?dashStyle, 'width': ?width};
}