of<T> method
T
of<T>()
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 of<T>() {
return Data.of<T>(this);
}