lock method

Future<void> lock(
  1. OrientationLockType orientation
)

Implementation

Future<void> lock(OrientationLockType orientation) => js_util
    .promiseToFuture(js_util.callMethod(this, 'lock', [orientation.value]));