WorkflowEventRef<T> constructor

const WorkflowEventRef<T>({
  1. required String topic,
  2. PayloadCodec<T>? codec,
})

Creates a typed workflow event reference.

Implementation

const WorkflowEventRef({
  required this.topic,
  this.codec,
});