StateTransactionHardwareCompletion constructor
Creates a hardware completion.
Implementation
const StateTransactionHardwareCompletion({
required this.transactionId,
required this.accepted,
required this.complete,
required this.error,
required this.payload,
}) : assert(
!complete || accepted,
'A hardware transaction cannot complete before acceptance.',
);