maybeFindProperty<T> method

ModelProperty<T>? maybeFindProperty<T>(
  1. Symbol key
)

Optionally find the property of the given type from the context. Returns null if the data is not found.

  • T The type of the data.
  • context The build context.
  • key The data key.

Implementation

ModelProperty<T>? maybeFindProperty<T>(Symbol key) {
  return Model.maybeFindProperty<T>(this, key);
}