DeliveryMapping.single constructor

DeliveryMapping.single(
  1. MessageEnvelope envelope,
  2. Executor target
)

Convenience constructor for a single envelope and single target.

Implementation

DeliveryMapping.single(
  MessageEnvelope envelope,
  Executor<dynamic, dynamic> target,
) : this([envelope], [target]);