enable method

void enable(
  1. void body(
    1. PriviledgedScope x
    )
)

Enters the device's priviledged scope.

Implementation

void enable(void Function(PriviledgedScope x) body) =>
  useScope(Scope.priviledged(), 'enable', body);