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