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));