requireProperties<TValue> method

Iterable<BindableProperty<TValue>> requireProperties<TValue>(
  1. Iterable<Object> propertyKeys
)

获取指定 propertyKeys 对应的属性集合

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

Implementation

Iterable<BindableProperty<TValue>> requireProperties<TValue>(
        Iterable<Object> propertyKeys) =>
    getProperties<TValue>(propertyKeys, required: true).cast();