OfflineOutbox class
Web stub for OfflineOutbox.
On web, sqlite3 + dart:io aren't available. This no-op stub is resolved
via conditional import so the native implementation never compiles
into the JS bundle. The offlineOutboxProvider returns null under
kIsWeb so callers naturally short-circuit and writes remain
online-only on the web.
Constructors
Properties
Methods
-
delete(
int id) → void -
dispose(
) → void -
enqueue(
{required String localId, required String tableName, required String operation, required Map< String, dynamic> payload, DateTime? clientUpdatedAt}) → Future<int> -
failedEvents(
{int limit = 50}) → List< OutboxEvent> -
initialize(
) → Future< void> -
markFailed(
int id, String error) → void -
markPending(
int id) → void -
markSynced(
int id, {String? serverId}) → void -
markSyncing(
int id) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pendingAndFailed(
{int limit = 100}) → List< OutboxEvent> -
pendingCount(
) → int -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited