operator [] method
Implementation
dynamic operator [](String key) {
switch (key) {
case 'id':
return id;
case 'properties':
return properties;
case 'geometry':
return geometry;
case 'type':
return type;
case 'bbox':
return bbox;
default:
return fields[key];
}
}