maybeFindRoot<T> method
T?
maybeFindRoot<T>()
Optionally find the root data of the given type from the context.
T
The type of the data.- context The build context.
Implementation
T? maybeFindRoot<T>() {
return Data.maybeFindRoot<T>(this);
}