StarterPackView constructor

  1. @jsonSerializable
const StarterPackView({
  1. @typeKey @Default(appBskyGraphDefsStarterPackView) String type,
  2. @AtUriConverter() required AtUri uri,
  3. required String cid,
  4. required StarterpackRecord record,
  5. required ActorBasic creator,
  6. ListViewBasic? list,
  7. List<ListItemView>? listItemsSample,
  8. List<FeedGeneratorView>? feeds,
  9. @Default(0) int joinedWeekCount,
  10. @Default(0) int joinedAllTimeCount,
  11. List<Label>? labels,
  12. required DateTime indexedAt,
})

Implementation

@jsonSerializable
const factory StarterPackView({
  @typeKey @Default(appBskyGraphDefsStarterPackView) String type,
  @AtUriConverter() required AtUri uri,
  required String cid,
  required StarterpackRecord record,
  required ActorBasic creator,
  ListViewBasic? list,
  List<ListItemView>? listItemsSample,
  List<FeedGeneratorView>? feeds,
  @Default(0) int joinedWeekCount,
  @Default(0) int joinedAllTimeCount,
  List<Label>? labels,
  required DateTime indexedAt,
}) = _StarterPackView;