toMap method
- @override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'location': this.location?.toMap(),
'name': this.name,
'snippet': this.snippet
};
}
model -> map
@override
Map<String, Object> toMap() {
return {
'location': this.location?.toMap(),
'name': this.name,
'snippet': this.snippet
};
}