KeyEvent.invalidPath constructor

const KeyEvent.invalidPath(
  1. String path
)

Indicates that data was modified at an unsupported path.

This event appears whenever data modified is not a direct child of the store, as the library does not support deep events. It is an event instead of an error as it can happen quite often depening on how you use the database. Typically, this event can simply be ignored or logged.

Implementation

const factory KeyEvent.invalidPath(
  /// The invalid subpath that was modified on the server.
  String path,
) = _KeyInvalidPath;