SelfLabel constructor

  1. @JsonSerializable(includeIfNull: false)
const SelfLabel({
  1. @Default('com.atproto.label.defs#selfLabel') String $type,
  2. required String val,
  3. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SelfLabel({
  @Default('com.atproto.label.defs#selfLabel') String $type,

  /// The short string name of the value or type of this label.
  required String val,

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