ProfileViewBasic constructor
const
ProfileViewBasic({
- @Default.new('chat.sprk.actor.defs#profileViewBasic') String $type,
- required String did,
- required String handle,
- String? displayName,
- String? avatar,
- @ProfileAssociatedConverter() ProfileAssociated? associated,
- @ViewerStateConverter() ViewerState? viewer,
- @LabelConverter.new() List<
Label> ? labels, - DateTime? createdAt,
- @RepoStrongRefConverter.new() List<
RepoStrongRef> ? stories, - Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory ProfileViewBasic({
@Default('chat.sprk.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,
DateTime? createdAt,
@RepoStrongRefConverter() List<RepoStrongRef>? stories,
Map<String, dynamic>? $unknown,
}) = _ProfileViewBasic;