typedSideReadResponse<T extends Logic> method
- T key
Returns the first typed side read, or null when no read is configured.
The schema and provider requirements are the same as for typedSideReadResponses.
Implementation
TypedAssociativeIndexedSideReadResponse<T>?
typedSideReadResponse<T extends Logic>(T key) {
final responses = _typedSideReadResponses(key, preferSingle: true);
return responses.isEmpty ? null : responses.first;
}