toMap method
- @override
override
model -> map
Implementation
@override
Map<String, Object?> toMap() {
return {
'icon': this.icon,
'coordinate': this.coordinate.toMap(),
'iconData': this.iconData != null ? this.iconData : null,
'size': this.size != null ? this.size : null,
};
}