ValueSocketContributions<V extends Object> extension

Contributions to a ValueSocket.

The value type comes from the socket, so a value of another type does not compile.

on

Methods

value(V value, {Set<Role<Object>> when = const {}}) → SocketContribution

Available on SocketRef<ValueSocket<V>>, provided by the ValueSocketContributions extension

Contributes value to this socket.