ProfileViewBasic constructor

  1. @JsonSerializable(includeIfNull: false)
const ProfileViewBasic({
  1. @Default('app.bsky.actor.defs#profileViewBasic') String $type,
  2. required String did,
  3. required String handle,
  4. String? displayName,
  5. String? pronouns,
  6. String? avatar,
  7. @ProfileAssociatedConverter() ProfileAssociated? associated,
  8. @ViewerStateConverter() ViewerState? viewer,
  9. @LabelConverter() List<Label>? labels,
  10. DateTime? createdAt,
  11. @VerificationStateConverter() VerificationState? verification,
  12. @StatusViewConverter() StatusView? status,
  13. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ProfileViewBasic({
  @Default('app.bsky.actor.defs#profileViewBasic') String $type,
  required String did,
  required String handle,
  String? displayName,
  String? pronouns,
  String? avatar,
  @ProfileAssociatedConverter() ProfileAssociated? associated,
  @ViewerStateConverter() ViewerState? viewer,
  @LabelConverter() List<Label>? labels,
  DateTime? createdAt,
  @VerificationStateConverter() VerificationState? verification,
  @StatusViewConverter() StatusView? status,

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