fromJsonWithOtherMembers static method
Create a GeometryObject from JSON with support for other members
Implementation
static GeometryObject fromJsonWithOtherMembers(Map<String, dynamic> json) {
final geometryObject = GeometryObject.deserialize(json);
// Extract other members
final otherMembers = extractOtherMembers(json, standardKeys);
if (otherMembers.isNotEmpty) {
geometryObject.setOtherMembers(otherMembers);
}
return geometryObject;
}