AppContext.getInstance()
Returns the current application context.
static getInstance(): AppContext;
Notes
- The application context is also exported as
app, which should be used from application code instead of calling this method.
Errors
This method throws an error if the application context hasn’t been initialized yet.
Related
class AppContext
A singleton class that represents the global application state.
