ProfileAssociated constructor

  1. @JsonSerializable(includeIfNull: false)
const ProfileAssociated({
  1. @Default(appBskyActorDefsProfileAssociated) @JsonKey(name: r'$type') String $type,
  2. @Default(0) int lists,
  3. @Default(0) int feedgens,
  4. @Default(0) int starterPacks,
  5. @Default(false) bool labeler,
  6. @ProfileAssociatedChatConverter() ProfileAssociatedChat? chat,
  7. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ProfileAssociated({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.actor.defs#profileAssociated`
  @Default(appBskyActorDefsProfileAssociated)
  @JsonKey(name: r'$type')
  String $type,
  @Default(0) int lists,
  @Default(0) int feedgens,
  @Default(0) int starterPacks,
  @Default(false) bool labeler,
  @ProfileAssociatedChatConverter() ProfileAssociatedChat? chat,

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