NotificationConfig constructor

const NotificationConfig({
  1. @Default.new('tools.ozone.server.getCapabilities#notificationConfig') String $type,
  2. @NotificationConfigChannelsConverter() required List<NotificationConfigChannels> channels,
  3. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory NotificationConfig({
  @Default('tools.ozone.server.getCapabilities#notificationConfig')
  String $type,
  @NotificationConfigChannelsConverter()
  required List<NotificationConfigChannels> channels,

  Map<String, dynamic>? $unknown,
}) = _NotificationConfig;