setWithPriority method
Sets data newVal
at actual database location with provided priority
newPriority
.
Like set() but also specifies the priority.
The newVal
must be a Dart basic type or the error is thrown.
The newPriority
must be a String, num or null
, or the error
is thrown.
Implementation
Future setWithPriority(newVal, newPriority) =>
handleThenable(jsObject.setWithPriority(jsify(newVal), newPriority));