toJson method
dynamic
toJson()
Implementation
dynamic toJson() {
return <String, dynamic>{
'color': color.toJson(),
'width': width,
'strokeAlign': strokeAlign,
'strokeInset': strokeInset,
'strokeOffset': strokeOffset,
'strokeOutset': strokeOutset,
'style': style.name,
};
}