ProfileViewBasic constructor
const
ProfileViewBasic({
- @Default.new('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> ? debug, - 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>? debug,
Map<String, dynamic>? $unknown,
}) = _ProfileViewBasic;