MultiKey<K> constructor

MultiKey<K>(
  1. Iterable<K> keys
)

A key that can be used to associate many keys with a single value.

Implementation

MultiKey(
  final Iterable<K> keys,
):  assert(keys.length > 1, '[MultiKey] invalid `keys` length, must be greater than 1.'),
    _keys = List.unmodifiable(keys);