ReadyValidInterface<LogicType extends Logic> constructor

ReadyValidInterface<LogicType extends Logic>(
  1. LogicType data
)

Creates a ReadyValidInterface with the given data.

Implementation

ReadyValidInterface(this.data)
    : super(
        portsFromProvider: [data, Logic.port('valid')],
        portsFromConsumer: [Logic.port('ready')],
      );