GlobalSharedStateMixin mixin

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

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?>
getMap(String key) Future<Map<String, dynamic>?>
getObject<T extends MeteorSharedObject>(String key, T constructor()) Future<T?>
获取缓存对象 T 是继承自MeteorSharedObject类的的对象
getString(String key) Future<String?>
getValue(String key) Future
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? value) Future<void>
setMap(String key, Map<String, dynamic>? value) Future<void>
setObject<T extends MeteorSharedObject>(String key, T? value) Future<void>
缓存对象 T 是继承自MeteorSharedObject类的的对象
setString(String key, String? value) Future<void>
setValue(String key, dynamic value) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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