SavedFeedsPref constructor

  1. @JsonSerializable(includeIfNull: false)
const SavedFeedsPref({
  1. @Default(appBskyActorDefsSavedFeedsPref) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required List<AtUri> pinned,
  3. @AtUriConverter() required List<AtUri> saved,
  4. @Default(0) int timelineIndex,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SavedFeedsPref({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.actor.defs#savedFeedsPref`
  @Default(appBskyActorDefsSavedFeedsPref)
  @JsonKey(name: r'$type')
  String $type,
  @AtUriConverter() required List<AtUri> pinned,
  @AtUriConverter() required List<AtUri> saved,
  @Default(0) int timelineIndex,

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