when<T> method
T
when<T>({
- required T request(),
- required T response(),
override
Implementation
@override
T when<T>({
required T Function(RequestChatEvent) request,
required T Function(ResponseChatEvent) response,
}) {
return response(this);
}