ViewModelStore class

ViewModel管理类

实际负责存储和管理ViewModel实例对象的管理器, 通过保存ViewModelProviderViewModel的映射关系来维护ViewModel和它的唯一性

Constructors

ViewModelStore()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() → void
清空ViewModel并执行ViewModel.onCleared [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited