withPrivilegesAsync abstract method

Future<void> withPrivilegesAsync(
  1. RunPrivilegedAsync action, {
  2. bool allowUnprivileged = false,
})

Identical to withPrivileges but allows you to run an async action.

Implementation

Future<void> withPrivilegesAsync(
  RunPrivilegedAsync action, {
  bool allowUnprivileged = false,
});