1. Dart
2. dart:html
3. ScreenOrientation
4. lock method

##### ScreenOrientation class

1. Properties
2. angle
3. hashCode
4. on
5. onChange
6. runtimeType
7. type
8. Methods
9. addEventListener
10. dispatchEvent
11. lock
12. noSuchMethod
13. removeEventListener
14. toString
15. unlock
16. Operators
17. operator ==
18. Constants
19. changeEvent

description

# lock method Null safety

Future lock (

1. String orientation

)

## Implementation

    Future lock(String orientation) =>
        promiseToFuture(JS("", "#.lock(#)", this, orientation));