getData method
Gets the user-defined data associated with the map object. Returns The data stored in the map object.
Example:
// Get custom data
Map<String, dynamic> retrievedData = _circleMapObject!.data;
print("Circle custom data: $retrievedData");
Implementation
@override
Uint8List getData() {
final _getDataFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
NativeBytes Function(Pointer<Void>, ),
NativeBytes Function(Pointer<Void>, )
>('navigine_sdk_flutter_MapObject_getData'));
final __resultHandle = _getDataFfi(this.ptr, );
final _result = toPlatformBytes(__resultHandle);
exception.checkCallResult();
return _result;
}