notify method

void notify(
  1. Object propertyKey, {
  2. bool requiredProperty = true,
})

发送指定 propertyKey 对应的属性值变更通知

propertyKey 属性键

requiredProperty 指定 propertyKey 对应属性是否必须存在, 其值为 true 时, 如 propertyKey 对应属性不存在则抛出异常 默认值为 true

Implementation

void notify(Object propertyKey, {bool requiredProperty = true}) =>
    getProperty<dynamic>(propertyKey, required: requiredProperty)?.notify();