LabelValueDefinitionStrings constructor
- @JsonSerializable(includeIfNull: false)
const
LabelValueDefinitionStrings(
{ - @Default(comAtprotoLabelDefsLabelValueDefinitionStrings) @JsonKey(name: r'$type') String $type,
- required String lang,
- required String name,
- required String description,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory LabelValueDefinitionStrings({
/// The unique namespace for this lex object.
///
/// `com.atproto.label.defs#labelValueDefinitionStrings`
@Default(comAtprotoLabelDefsLabelValueDefinitionStrings)
@JsonKey(name: r'$type')
String $type,
/// The code of the language these strings are written in.
required String lang,
/// A short human-readable name for the label.
required String name,
/// A longer description of what the label means and why it might be
/// applied.
required String description,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _LabelValueDefinitionStrings;