width property

double get width
override

sublocation's width in meters.

Example:

// Get sublocation width in meters
double width = sublocation.getWidth();
print('Sublocation width: $width meters');

Implementation

double get width {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Float Function(Pointer<Void>),
        double Function(Pointer<Void>)
      >('navigine_sdk_flutter_Sublocation_width_get'));

    final _handle = this.handle;
    final _widthHandle = _getFfi(_handle);
    final _result = navigine_sdk_flutter_double_FromFfi(_widthHandle);
    navigine_sdk_flutter_double_ReleaseFfiHandle(_widthHandle);
    return _result;
}