LifecycleExtData class

寄存于lifecycle的数据

Constructors

LifecycleExtData()

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

get<T>(TypedKey<T> key) → T?
根据key获取
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putIfAbsent<T>(TypedKey<T> key, T ifAbsent()) → T
根据key获取,如果不存在则创建信息
remove<T>(TypedKey<T> key) → T?
手动移除指定的key
replace<T>(TypedKey<T> key, T data) → T?
替换为新数据 返回结构为旧数据如果不存在旧数据则返回null
toString() String
A string representation of this object.
inherited

Operators

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