onError property

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

When specified, will be called whenever an interaction with Firestore failed, when as when trying to delete an item without the proper rights.

Implementation

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