maybeFind<T> method

T? maybeFind<T>()

Optionally find the data of the given type from the context.

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

Implementation

T? maybeFind<T>() {
  return Data.maybeFind<T>(this);
}