toJson method
Implementation
@override
Map<String, dynamic> toJson() {
final Map<String, dynamic> json = <String, dynamic>{};
if (dashStyle != null) {
json['dashStyle'] = dashStyle;
}
if (enabled != null) {
json['enabled'] = enabled;
}
if (markerEnd != null) {
json['markerEnd'] = markerEnd;
}
if (zIndex != null) {
json['zIndex'] = zIndex;
}
return json;
}