maybeOf<T> method

T? maybeOf<T>()

Optionally find and listen to data changes of the data with the given type from the context.

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

Implementation

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