toJson method Null safety
Converts the Feature to a JSON object. (Not actually possible, as a base feature has no geometry)
Implementation
Map<String, dynamic> toJson() {
return {
'type': 'Feature',
'properties': properties,
};
}
Converts the Feature to a JSON object. (Not actually possible, as a base feature has no geometry)
Map<String, dynamic> toJson() {
return {
'type': 'Feature',
'properties': properties,
};
}