XSp class

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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

get<T>(String key, {T from(Map map)?, T? defValue}) → T?
获取数据
getList<T>(String key, [T from(Map map)?]) List<T>?
获取数据 //
hasData(String key) bool
是否已保存
init() Future
初始化
put(String key, dynamic value) Future<void>
保存数据
remove(String key) Future<void>
删除数据
removeAll() Future<void>
删除全部数据
show([String? showKey]) → dynamic
显示存储的数据