ProfileViewBasic constructor
- @JsonSerializable(includeIfNull: false)
const
ProfileViewBasic(
{ - @Default('chat.bsky.actor.defs#profileViewBasic') String $type,
- required String did,
- required String handle,
- String? displayName,
- String? avatar,
- @ProfileAssociatedConverter() ProfileAssociated? associated,
- @ViewerStateConverter() ViewerState? viewer,
- @LabelConverter() List<Label>? labels,
- bool? chatDisabled,
- @VerificationStateConverter() VerificationState? verification,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ProfileViewBasic({
@Default('chat.bsky.actor.defs#profileViewBasic') String $type,
required String did,
required String handle,
String? displayName,
String? avatar,
@ProfileAssociatedConverter() ProfileAssociated? associated,
@ViewerStateConverter() ViewerState? viewer,
@LabelConverter() List<Label>? labels,
/// Set to true when the actor cannot actively participate in conversations
bool? chatDisabled,
@VerificationStateConverter() VerificationState? verification,
Map<String, dynamic>? $unknown,
}) = _ProfileViewBasic;