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 _weightHandle = _getFfi(this.ptr);
final _result = toPlatformFromPointerFloat(_weightHandle);
exception.checkCallResult();
return _result;
}