lock method

  1. @DomName('ScreenOrientation.lock')
  2. @DocsEditable()
  3. @Experimental()
Future lock(String orientation)

Source

@DomName('ScreenOrientation.lock')
@DocsEditable()
@Experimental() // untriaged
Future lock(String orientation) =>
    convertNativePromiseToDartFuture(_blink.BlinkScreenOrientation.instance
        .lock_Callback_1_(this, orientation));

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/ScreenOrientation/lock.html