onError property

void Function(Object error, StackTrace stackTrace)? onError
final

Called when syncing with the backend or Firebase fails.

Implementation

final void Function(Object error, StackTrace stackTrace)? onError;