weightCoef property

double? get weightCoef
override

@brief Edge weight coefficient.

Dart code snippet: @snippet location_manager_example.dart dart_GraphEdge_getWeightCoef

Implementation

double? get weightCoef {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Pointer<Void> Function(Pointer<Void>),
        Pointer<Void> Function(Pointer<Void>)
      >('navigine_sdk_flutter_GraphEdge_weightCoef_get'));

    final _handle = this.handle;
    final _weightCoefHandle = _getFfi(_handle);
    final _result = navigine_sdk_flutter_double_FromFfiNullable(_weightCoefHandle);
    navigine_sdk_flutter_double_ReleaseFfiHandleNullable(_weightCoefHandle);
    return _result;
}