ProfileViewDetailed constructor

  1. @JsonSerializable(includeIfNull: false)
const ProfileViewDetailed({
  1. @Default('app.bsky.actor.defs#profileViewDetailed') String $type,
  2. required String did,
  3. required String handle,
  4. String? displayName,
  5. String? description,
  6. String? pronouns,
  7. String? website,
  8. String? avatar,
  9. String? banner,
  10. int? followersCount,
  11. int? followsCount,
  12. int? postsCount,
  13. @ProfileAssociatedConverter() ProfileAssociated? associated,
  14. @StarterPackViewBasicConverter() StarterPackViewBasic? joinedViaStarterPack,
  15. DateTime? indexedAt,
  16. DateTime? createdAt,
  17. @ViewerStateConverter() ViewerState? viewer,
  18. @LabelConverter() List<Label>? labels,
  19. @RepoStrongRefConverter() RepoStrongRef? pinnedPost,
  20. @VerificationStateConverter() VerificationState? verification,
  21. @StatusViewConverter() StatusView? status,
  22. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ProfileViewDetailed({
  @Default('app.bsky.actor.defs#profileViewDetailed') String $type,
  required String did,
  required String handle,
  String? displayName,
  String? description,
  String? pronouns,
  String? website,
  String? avatar,
  String? banner,
  int? followersCount,
  int? followsCount,
  int? postsCount,
  @ProfileAssociatedConverter() ProfileAssociated? associated,
  @StarterPackViewBasicConverter() StarterPackViewBasic? joinedViaStarterPack,
  DateTime? indexedAt,
  DateTime? createdAt,
  @ViewerStateConverter() ViewerState? viewer,
  @LabelConverter() List<Label>? labels,
  @RepoStrongRefConverter() RepoStrongRef? pinnedPost,
  @VerificationStateConverter() VerificationState? verification,
  @StatusViewConverter() StatusView? status,

  Map<String, dynamic>? $unknown,
}) = _ProfileViewDetailed;