AssociativeUpdateRequest<KeyType extends Logic>.typed constructor

AssociativeUpdateRequest<KeyType extends Logic>.typed(
  1. KeyType key, {
  2. required int indexWidth,
  3. String name = 'associativeUpdateRequest',
})

Creates an update request whose key preserves the schema of key.

key is a schema, not a driver.

Implementation

AssociativeUpdateRequest.typed(
  KeyType key, {
  required int indexWidth,
  String name = 'associativeUpdateRequest',
}) : super([
        Logic(name: 'index', width: indexWidth),
        cloneTypedPayload(key, name: 'key'),
        Logic(name: 'entryValid'),
      ], name: name);