SelfLabels constructor
- @JsonSerializable(includeIfNull: false)
const
SelfLabels(
{ - @Default(comAtprotoLabelDefsSelfLabels) @JsonKey(name: r'$type') String $type,
- @SelfLabelConverter() required List<SelfLabel> values,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory SelfLabels({
/// The unique namespace for this lex object.
///
/// `com.atproto.label.defs#selfLabels`
@Default(comAtprotoLabelDefsSelfLabels)
@JsonKey(name: r'$type')
String $type,
@SelfLabelConverter() required List<SelfLabel> values,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _SelfLabels;