BindableObjectValueMixin mixin

BindableObjectValueMixin

Superclass Constraints
Mixin Applications

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

ensureProperty<TValue>(Object propertyKey, {TValue? initialValue}) BindableProperty<TValue>
确认指定 propertyKey 对应的绑定属性
inherited
getProperties<TValue>(Iterable<Object> propertyKeys, {bool required = false}) Iterable<BindableProperty<TValue>?>
获取指定 propertyKeys 对应的属性集合
inherited
getProperty<TValue>(Object propertyKey, {bool required = false}) BindableProperty<TValue>?
获取指定 propertyKey 对应的属性
inherited
getPropertyOf<TValue, TProperty extends BindableProperty<TValue>>(Object propertyKey, {bool required = false}) → TProperty?
获取指定 propertyKey 对应 TProperty 类型属性
inherited
getValue<TValue>(Object propertyKey, {bool requiredProperty = false, TValue? defaultValue}) → TValue?
获取指定 propertyKey 对应的属性值
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(Object propertyKey, {bool requiredProperty = true}) → void
发送指定 propertyKey 对应的属性值变更通知
registerProperty<TValue>(Object propertyKey, BindableProperty<TValue> property) BindableProperty<TValue>
注册一个绑定属性
inherited
requireProperties<TValue>(Iterable<Object> propertyKeys) Iterable<BindableProperty<TValue>>
获取指定 propertyKeys 对应的属性集合
inherited
requireProperty<TValue>(Object propertyKey) BindableProperty<TValue>
获取指定 propertyKey 对应的属性
inherited
requirePropertyOf<TValue, TProperty extends BindableProperty<TValue>>(Object propertyKey) → TProperty
获取指定 propertyKey 对应 TProperty 类型属性
inherited
requireValue<TValue>(Object propertyKey) → TValue
获取指定 propertyKey 对应的属性值
setValue<TValue>(Object propertyKey, TValue value, {bool requiredProperty = true}) → void
设置指定 propertyKey 对应的属性值,
setValues(Iterable<Object> propertyKeys, Iterable<Object?> values, {bool requiredProperty = true}) → void
设置指定 propertyKeys 对应的属性值
toString() String
A string representation of this object.
inherited
updateValue<TValue>(Object propertyKey, TValue? updator(TValue), {bool requiredProperty = true}) → void
更新指定 propertyKey 对应的属性值

Operators

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