weight property
Edge weight.
Example:
// Get edge weight
double weight = edge.getWeight();
print('Edge weight: $weight');
Implementation
double? get weight {
final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Pointer<Void> Function(Pointer<Void>),
Pointer<Void> Function(Pointer<Void>)
>('navigine_sdk_flutter_GraphEdge_weight_get'));
final _handle = this.handle;
final _weightHandle = _getFfi(_handle);
final _result = navigine_sdk_flutter_double_FromFfiNullable(_weightHandle);
navigine_sdk_flutter_double_ReleaseFfiHandleNullable(_weightHandle);
return _result;
}