SavedFeedsPrefV2 constructor

  1. @JsonSerializable(includeIfNull: false)
const SavedFeedsPrefV2({
  1. @Default(appBskyActorDefsSavedFeedsPrefV2) @JsonKey(name: r'$type') String $type,
  2. @SavedFeedConverter() required List<SavedFeed> items,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SavedFeedsPrefV2({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.actor.defs#savedFeedsPrefV2`
  @Default(appBskyActorDefsSavedFeedsPrefV2)
  @JsonKey(name: r'$type')
  String $type,
  @SavedFeedConverter() required List<SavedFeed> items,

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