navigine_sdk_flutter_Graph_FromFfi function

Graph navigine_sdk_flutter_Graph_FromFfi(
  1. Pointer<Void> handle
)

Implementation

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