OpenAppsSettings class Null safety

This class is responsible for Opening settings pages.

Constructors

OpenAppsSettings()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

openAppsSettings({required SettingsCode settingsCode, Function? onCompletion}) Future<void>
this method is used to open settings. As a input user will specify which settings should be open. All SettingsCode are defined in SettingsCode enum. onCompletion method is optional. If user wants to execute something after returning back from settings then can pass through onCompletion method