ThreadViewPref constructor

  1. @JsonSerializable(includeIfNull: false)
const ThreadViewPref({
  1. @Default('app.bsky.actor.defs#threadViewPref') String $type,
  2. @ThreadViewPrefSortConverter() ThreadViewPrefSort? sort,
  3. bool? prioritizeFollowedUsers,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ThreadViewPref({
  @Default('app.bsky.actor.defs#threadViewPref') String $type,

  /// Sorting mode for threads.
  @ThreadViewPrefSortConverter() ThreadViewPrefSort? sort,

  /// Show followed users at the top of all replies.
  bool? prioritizeFollowedUsers,

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