toMap method
Implementation
Map<String, dynamic> toMap() => {
'curve': curve,
'duration': duration,
'color': color,
'width': weight,
'size': size,
'rounded': rounded,
'drawCross': drawCross,
'drawDash': drawDash,
};