BskyAppStatePref constructor

  1. @JsonSerializable(includeIfNull: false)
const BskyAppStatePref({
  1. @Default(appBskyActorDefsBskyAppStatePref) @JsonKey(name: r'$type') String $type,
  2. @BskyAppProgressGuideConverter() BskyAppProgressGuide? activeProgressGuide,
  3. List<String>? queuedNudges,
  4. @NuxConverter() List<Nux>? nuxs,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory BskyAppStatePref({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.actor.defs#bskyAppStatePref`
  @Default(appBskyActorDefsBskyAppStatePref)
  @JsonKey(name: r'$type')
  String $type,
  @BskyAppProgressGuideConverter() BskyAppProgressGuide? activeProgressGuide,

  /// An array of tokens which identify nudges (modals, popups, tours,
  /// highlight dots) that should be shown to the user.
  List<String>? queuedNudges,

  /// Storage for NUXs the user has encountered.
  @NuxConverter() List<Nux>? nuxs,

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