geoJSONDictionary property

ObjCProtocolMethod<NSDictionary Function()> geoJSONDictionary
final

Returns a dictionary that can be serialized as a GeoJSON Feature representation of an instance of an MLNFeature subclass.

The dictionary includes a geometry key corresponding to the receiver’s underlying geometry data, a properties key corresponding to the receiver’s attributes property, and an id key corresponding to the receiver’s ``identifier` property.

Implementation

static final geoJSONDictionary = objc.ObjCProtocolMethod<objc.NSDictionary Function()>(
      _protocol_MLNFeature,
      _sel_geoJSONDictionary,
      ffi.Native.addressOf<ffi.NativeFunction<ffi.Pointer<objc.ObjCObject> Function(ffi.Pointer<objc.ObjCObject> , ffi.Pointer<ffi.Void> )>>(_MapLibreFFi_protocolTrampoline_1mbt9g9).cast(),
      objc.getProtocolMethodSignature(
          _protocol_MLNFeature,
          _sel_geoJSONDictionary,
          isRequired: true,
          isInstanceMethod: true,
      ),
      (objc.NSDictionary Function() func) => ObjCBlock_NSDictionary_ffiVoid.fromFunction((ffi.Pointer<ffi.Void> _, ) => func()),

    );