KeySocketContributions extension

Contributions to a KeyedSocket whose entries are only keys.

on

Methods

key(String key, {Set<Role<Object>> when = const {}}) → SocketContribution

Available on SocketRef<KeyedSocket<NoValue>>, provided by the KeySocketContributions extension

Adds key to this socket.