toMap method Null safety
- @override
override
model -> map
Implementation
@override
Map<String, Object?> toMap() {
return Map.from(super.toMap())
..addAll({
'coordinates': this.coordinates.map((coord) => coord.toMap()).toList(),
'traceOverlayAnimateOption': this.traceOverlayAnimateOption.toMap(),
'width': this.width,
'strokeColor': this.strokeColor?.value.toRadixString(16),
'fillColor': this.fillColor?.value.toRadixString(16),
});
}