getUserLocationLayer method

  1. @override
UserLocationLayer getUserLocationLayer(
  1. LocationWindow locationWindow
)
override

Create layer with the user location icon.

Implementation

@override
UserLocationLayer getUserLocationLayer(LocationWindow locationWindow) {
    final _getUserLocationLayerFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Pointer<Void> Function(Pointer<Void>, Pointer<Void>),
        Pointer<Void> Function(Pointer<Void>, Pointer<Void>)
      >('navigine_sdk_flutter_NavigineSdk_getUserLocationLayer__LocationWindow'));
    final __resultHandle = _getUserLocationLayerFfi(this.ptr, LocationWindow$Impl.getNativePtr(locationWindow));
    final _result = UserLocationLayer$Impl.fromNativePtr(__resultHandle);
    exception.checkCallResult();
    return _result;
}