requireResponse<EventType, StateType> static method

Response<EventType, StateType> requireResponse<EventType, StateType>(
  1. String id,
  2. List<Response<EventType, dynamic>> subResponses
)

Implementation

static Response<EventType, StateType> requireResponse<EventType, StateType>(
    String id, List<Response<EventType, dynamic>> subResponses) {
  return getResponse(id, subResponses)!;
}