ViewModelBase class abstract

ViewModelBase

Implemented types
Implementers

Constructors

ViewModelBase()

Properties

hashCode int
The hash code for this object.
no setterinherited
properties Iterable<MapEntry<Object, BindableProperty>>
获取所有已注册的属性
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
dispose
getProperty<TValue>(Object propertyKey, {bool required = false}) BindableProperty<TValue>?
获取指定 propertyKey 对应的属性
override
init() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerProperty<TValue>(Object propertyKey, BindableProperty<TValue> property) BindableProperty<TValue>
注册一个绑定属性
override
toString() String
A string representation of this object.
inherited

Operators

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