LabelerViewerState constructor

  1. @JsonSerializable(includeIfNull: false)
const LabelerViewerState({
  1. @Default(appBskyLabelerDefsLabelerViewerState) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() AtUri? like,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory LabelerViewerState({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.labeler.defs#labelerViewerState`
  @Default(appBskyLabelerDefsLabelerViewerState)
  @JsonKey(name: r'$type')
  String $type,
  @AtUriConverter() AtUri? like,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _LabelerViewerState;