LabelValueDefinitionStrings constructor

  1. @JsonSerializable(includeIfNull: false)
const LabelValueDefinitionStrings({
  1. @Default('com.atproto.label.defs#labelValueDefinitionStrings') String $type,
  2. required String lang,
  3. required String name,
  4. required String description,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory LabelValueDefinitionStrings({
  @Default('com.atproto.label.defs#labelValueDefinitionStrings') 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,

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