ByValueKey constructor

ByValueKey(
  1. dynamic keyValue
)

Creates a finder given the key value.

Implementation

ByValueKey(this.keyValue)
    : keyValueString = '$keyValue',
      keyValueType = '${keyValue.runtimeType}' {
  if (!_supportedKeyValueTypes.contains(keyValue.runtimeType)) {
    throw _createInvalidKeyValueTypeError('$keyValue.runtimeType');
  }
}