ViewModel 
    The ViewModel class is a business logic or screen level state holder. It exposes state to the UI and encapsulates related business logic. Its principal advantage is that it caches state and persists it through configuration changes (on Android).
Constructors
Link copied to clipboard
                  actual constructor()
expect constructor()
Construct a new ViewModel instance.
Construct a new ViewModel instance. Any Closeable objects provided here will be closed directly before onCleared is called.
actual constructor()
Properties
Link copied to clipboard
                  CoroutineScope tied to this ViewModel. This scope will be canceled when ViewModel will be cleared, i.e ViewModel.onCleared is called.
Functions
addCloseable 
                    Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Returns true if this ViewModel has been cleared.