SelfLabel constructor

const SelfLabel({
  1. @typeKey @Default(comAtprotoLabelDefsSelfLabel) String type,
  2. @JsonKey(name: 'val') required String value,
})

Implementation

const factory SelfLabel({
  @typeKey @Default(comAtprotoLabelDefsSelfLabel) String type,

  /// The short string name of the value or type of this label.
  @JsonKey(name: 'val') required String value,
}) = _SelfLabel;