Labels constructor
- @JsonSerializable(includeIfNull: false)
const
Labels(
{ - @Default(comAtprotoLabelSubscribeLabelsLabels) @JsonKey(name: r'$type') String $type,
- required int seq,
- @LabelConverter() required List<Label> labels,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory Labels({
/// The unique namespace for this lex object.
///
/// `com.atproto.label.subscribeLabels#labels`
@Default(comAtprotoLabelSubscribeLabelsLabels)
@JsonKey(name: r'$type')
String $type,
required int seq,
@LabelConverter() required List<Label> labels,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Labels;