DeveloperOptions class
Constructors
Properties
Methods
-
getDeveloperOption(
String key) → bool? - Get developer option. It can be null if it doesn't exist yet
-
getDeveloperOptionNullSafe(
String key) → bool - Get developer option. Returns false if doesn't exist yet
-
getDeveloperStatus(
) → bool - Get status. In release, it defaults to false, in other cases to true
-
getDeveloperString(
String key) → String? - Get developer string. It can be null if it doesn't exist yet
-
getDeveloperStringNullSafe(
String key) → String - Get developer string. Returns false if doesn't exist yet
-
init(
) → Future< bool> - Init the package. Must be run to load shared_preferences, and its async
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDeveloperOption(
String key, bool value) → dynamic - Set boolean developer option. If already exist, update value with that key
-
setDeveloperStatus(
bool enabled) → dynamic - Set developer status.
-
setDeveloperString(
String key, String value) → dynamic - Set string developer option. If already exist, update value with that key
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited