setWithPriority method

Future<void> setWithPriority(
  1. Object? value,
  2. Object? priority
)

Write a value to the location with the specified priority if applicable.

This will overwrite any data at this location and all child locations.

Data types that are allowed are String, boolean, int, double, Map, List.

The effect of the write will be visible immediately and the corresponding events will be triggered. Synchronization of the data to the Firebase Database servers will also be started.

Passing null for the new value means all data at this location or any child location will be deleted.

Implementation

Future<void> setWithPriority(Object? value, Object? priority) {
  throw UnimplementedError('set() not implemented');
}