setPriority method

Future setPriority(
  1. dynamic priority
)

Sets a priority for data at actual database location.

The priority must be a String, num or null, or the error is thrown.

Implementation

Future setPriority(priority) =>
    handleThenable(jsObject.setPriority(priority));