ChannelsSpec constructor

const ChannelsSpec({
  1. List<EmailChannel>? email,
  2. List<MessagingChannel>? messaging,
  3. List<QueueChannel>? queue,
  4. List<ToolkitChannel>? toolkit,
})

Implementation

const ChannelsSpec({
  List<EmailChannel>? email,
  List<MessagingChannel>? messaging,
  List<QueueChannel>? queue,
  List<ToolkitChannel>? toolkit,
}) : email = email ?? const <EmailChannel>[],
     messaging = messaging ?? const <MessagingChannel>[],
     queue = queue ?? const <QueueChannel>[],
     toolkit = toolkit ?? const <ToolkitChannel>[];