get<T> method

WebSocketExchange<T>? get<T>(
  1. dynamic key
)

Returns the exchange associated with key.

Note that key can be any of the MultiKeys.

Returns null if key was not in the map.

Implementation

WebSocketExchange<T>? get<T>(final dynamic key) => _keyToExchange[key];