Feature.fromJson constructor Null safety
Creates a Feature from a JSON object. (Not actually possible, as a base feature has no geometry)
Implementation
factory Feature.fromJson(Map<String, dynamic> json) {
return Feature(
properties: Map<String, dynamic>.from(json['properties']),
);
}