ListViewerState constructor

  1. @JsonSerializable(includeIfNull: false)
const ListViewerState({
  1. @Default(appBskyGraphDefsListViewerState) @JsonKey(name: r'$type') String $type,
  2. @Default(false) bool muted,
  3. @AtUriConverter() AtUri? blocked,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ListViewerState({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.graph.defs#listViewerState`
  @Default(appBskyGraphDefsListViewerState)
  @JsonKey(name: r'$type')
  String $type,
  @Default(false) bool muted,
  @AtUriConverter() AtUri? blocked,

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