ListViewerState constructor

const ListViewerState({
  1. @Default.new('app.bsky.graph.defs#listViewerState') String $type,
  2. bool? muted,
  3. @AtUriConverter.new() AtUri? blocked,
  4. @AtUriConverter.new() AtUri? referenceListOptOut,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ListViewerState({
  @Default('app.bsky.graph.defs#listViewerState') String $type,
  bool? muted,
  @AtUriConverter() AtUri? blocked,

  /// The authenticated viewer's app.bsky.graph.referencelistoptout record URI for this reference list. Only set for reference lists. A client can delete this record to undo the opt-out.
  @AtUriConverter() AtUri? referenceListOptOut,

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