requireProperty<TValue> method

BindableProperty<TValue> requireProperty<TValue>(
  1. Object propertyKey
)

获取指定 propertyKey 对应的属性

  • propertyKey 对应属性不存在则抛出异常

propertyKey 属性键

Implementation

BindableProperty<TValue> requireProperty<TValue>(Object propertyKey) =>
    getProperty(propertyKey, required: true)!;