operator [] method

dynamic operator [](
  1. String key
)
inherited

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];
  }
}