find<T> method
T
find<T>()
Find the data of the given type from the context. Does not listen to the data changes.
TThe type of the data.- context The build context.
Implementation
T find<T>() {
assert(mounted, 'State is not mounted');
return Data.find<T>(context);
}