ViewerState constructor
- @JsonSerializable.new(includeIfNull: false)
const
ViewerState(
{ - @Default.new('app.bsky.actor.defs#viewerState') String $type,
- bool? muted,
- @ListViewBasicConverter() ListViewBasic? mutedByList,
- bool? blockedBy,
- String? blocking,
- @ListViewBasicConverter() ListViewBasic? blockingByList,
- String? following,
- String? followedBy,
- @KnownFollowersConverter() KnownFollowers? knownFollowers,
- @ActivitySubscriptionConverter() ActivitySubscription? activitySubscription,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ViewerState({
@Default('app.bsky.actor.defs#viewerState') String $type,
bool? muted,
@ListViewBasicConverter() ListViewBasic? mutedByList,
bool? blockedBy,
String? blocking,
@ListViewBasicConverter() ListViewBasic? blockingByList,
String? following,
String? followedBy,
/// This property is present only in selected cases, as an optimization.
@KnownFollowersConverter() KnownFollowers? knownFollowers,
/// This property is present only in selected cases, as an optimization.
@ActivitySubscriptionConverter() ActivitySubscription? activitySubscription,
Map<String, dynamic>? $unknown,
}) = _ViewerState;