maybeFindMessenger<T> method
T?
maybeFindMessenger<T>()
Find the DataMessenger that holds all of the data with the given type from the context.
T
The type of the data.- context The build context.
Implementation
T? maybeFindMessenger<T>() {
return Data.maybeFindMessenger<T>(this);
}