LiveExtData class

寄存于lifecycle的数据

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
isDestroyed bool
判断当前是否是已经销毁状态
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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