KeyCondition<O, V> constructor

KeyCondition<O, V>(
  1. List<ConditionKey> keys,
  2. V value
)

Implementation

KeyCondition(this.keys, this.value) : super._() {
  if (keys.isEmpty) {
    throw ArgumentError('Empty keys');
  }

  if (keys.first is ConditionKeyIndex) {
    throw ArgumentError("First key can't be an index: $keys");
  }
}