SelfLabel class

Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.

https://atprotodart.com/docs/lexicons/com/atproto/label/defs#selflabel

Available extensions
Annotations
  • @freezed

Constructors

SelfLabel({@Default(comAtprotoLabelDefsSelfLabel) @JsonKey(name: r'$type') String $type, required String val, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
SelfLabel.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $SelfLabelCopyWith<SelfLabel>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
val String
The short string name of the value or type of this label.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited