GetConfigOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const GetConfigOutput({
  1. @ServiceConfigConverter() @Default(ServiceConfig()) ServiceConfig appview,
  2. @ServiceConfigConverter() @Default(ServiceConfig()) ServiceConfig pds,
  3. @ServiceConfigConverter() @Default(ServiceConfig()) ServiceConfig blobDivert,
  4. @ServiceConfigConverter() @Default(ServiceConfig()) ServiceConfig chat,
  5. @ViewerConfigConverter() @Default(ViewerConfig()) ViewerConfig viewer,
  6. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GetConfigOutput({
  @ServiceConfigConverter() @Default(ServiceConfig()) ServiceConfig appview,
  @ServiceConfigConverter() @Default(ServiceConfig()) ServiceConfig pds,
  @ServiceConfigConverter()
  @Default(ServiceConfig())
  ServiceConfig blobDivert,
  @ServiceConfigConverter() @Default(ServiceConfig()) ServiceConfig chat,
  @ViewerConfigConverter() @Default(ViewerConfig()) ViewerConfig viewer,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _GetConfigOutput;