weight property
Total route weight/cost.
Example:
// Get total route weight
double weight = path.weight;
print("Route weight: $weight");
Implementation
double get weight {
final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Float Function(Pointer<Void>),
double Function(Pointer<Void>)
>('navigine_sdk_flutter_RoutePath_weight_get'));
final _handle = this.handle;
final _weightHandle = _getFfi(_handle);
final _result = navigine_sdk_flutter_double_FromFfi(_weightHandle);
navigine_sdk_flutter_double_ReleaseFfiHandle(_weightHandle);
return _result;
}