toMap method
- @override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'hollowShapeType': this.hollowShapeType?.index,
'coordinates': this.coordinates?.map((e) => e?.toMap())?.toList(),
'center': this.center?.toMap(),
'radius': this.radius
};
}