navigine_sdk_flutter_Notification_FromFfi function

Notification navigine_sdk_flutter_Notification_FromFfi(
  1. Pointer<Void> handle
)

Implementation

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