SharedCacheApi class
Constructors
SharedCacheApi ({BinaryMessenger ? binaryMessenger , String messageChannelSuffix = '' })
Constructor for SharedCacheApi . The binaryMessenger
named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
getBool (String key )
→ Future <bool ? >
getBytes (String key )
→ Future <List <int ? > ? >
getDouble (String key )
→ Future <double ? >
getInt (String key )
→ Future <int ? >
getList (String key )
→ Future <List <Object ? > ? >
getMap (String key )
→ Future <Map <String ? , Object ? > ? >
getString (String key )
→ Future <String ? >
getValue (String key )
→ Future <Object ? >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBool (String key , bool ? value )
→ Future <void >
setBytes (String key , List <int ? > ? value )
→ Future <void >
setDouble (String key , double ? value )
→ Future <void >
setInt (String key , int ? value )
→ Future <void >
setList (String key , List <Object ? > ? value )
→ Future <void >
setMap (String key , Map <String ? , Object ? > ? value )
→ Future <void >
setString (String key , String ? value )
→ Future <void >
setValue (String key , Object ? value )
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited