navigine_sdk_flutter_GraphVertex_FromFfi function

GraphVertex navigine_sdk_flutter_GraphVertex_FromFfi(
  1. Pointer<Void> handle
)

Implementation

GraphVertex navigine_sdk_flutter_GraphVertex_FromFfi(Pointer<Void> handle) {
    if (handle.address == 0) throw StateError("Expected non-null value.");
    final _copiedHandle = _navigine_sdk_flutter_GraphVertex_CopyHandle(handle);
    final result = GraphVertex$Impl(_copiedHandle);
    GraphVertex$Impl._finalizer.attach(result, _copiedHandle);
    return result;
}