SharedPreferencesDevToolsExtensionData class

A helper class that provides data to the DevTools extension.

It is only visible for testing and eval.

Annotations

Constructors

SharedPreferencesDevToolsExtensionData.new([PostEvent _postEvent = developer.postEvent])
The default constructor for SharedPreferencesDevToolsExtensionData.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

listenChanges() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestAllKeys() Future<void>
Requests all legacy and async keys and post an event with the result.
requestRemoveKey(String key, bool legacy) Future<void>
Requests a key removal and posts an empty event when removed.
requestValue(String key, bool legacy) Future<void>
Requests the value for a given key and posts an event with the result.
requestValueChange(String key, String serializedValue, String kind, bool legacy) Future<void>
Requests the value change for the given key and posts an empty event when finished.
toString() String
A string representation of this object.
inherited

Operators

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