ProfileRecord constructor
- @JsonSerializable(includeIfNull: false)
const
ProfileRecord(
{ - @Default(appBskyActorProfile) @JsonKey(name: r'$type') String $type,
- String? displayName,
- String? description,
- @BlobConverter() Blob? avatar,
- @BlobConverter() Blob? banner,
- @UProfileLabelConverter() UProfileLabel? labels,
- @StrongRefConverter() StrongRef? joinedViaStarterPack,
- DateTime? createdAt,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ProfileRecord({
/// The unique namespace for this lex object.
///
/// `app.bsky.actor.profile`
@Default(appBskyActorProfile) @JsonKey(name: r'$type') String $type,
String? displayName,
/// Free-form profile description text.
String? description,
/// Small image to be displayed next to posts from account. AKA,
/// 'profile picture'
@BlobConverter() Blob? avatar,
/// Larger horizontal image to display behind profile view.
@BlobConverter() Blob? banner,
/// Self-label values, specific to the Bluesky application, on the
/// overall account.
@UProfileLabelConverter() UProfileLabel? labels,
@StrongRefConverter() StrongRef? joinedViaStarterPack,
DateTime? createdAt,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ProfileRecord;