ActorProfile class

Annotations
  • @freezed

Constructors

ActorProfile({required String did, required String handle, String? displayName, String? description, String? avatar, String? banner, @Default(0) int followsCount, @Default(0) int followersCount, @Default(0) int postsCount, ProfileAssociated? associated, @Default(defaultActorViewer) ActorViewer viewer, List<Label>? labels, DateTime? indexedAt})
const
factory
ActorProfile.fromJson(Map<String, Object?> json)
factory

Properties

associated ProfileAssociated?
no setterinherited
avatar String?
no setterinherited
no setterinherited
copyWith → $ActorProfileCopyWith<ActorProfile>
no setterinherited
description String?
no setterinherited
did String
no setterinherited
displayName String?
no setterinherited
followersCount int
no setterinherited
followsCount int
no setterinherited
handle String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
indexedAt DateTime?
no setterinherited
isBlockedBy bool
Returns true if authenticated user has blocked by this actor, otherwise false.
no setter
isBlocking bool
Returns true if authenticated user has already blocked this actor, otherwise false.
no setter
isBlockingByList bool
Returns true if authenticated user has already blocked actors by list, otherwise false.
no setter
isFollowedBy bool
Returns true if authenticated user has already followed by this actor, otherwise false.
no setter
isFollowing bool
Returns true if authenticated user has already following this actor, otherwise false.
no setter
isMuted bool
Returns true if authenticated user has muted this actor, otherwise false.
no setter
isMutedByList bool
Returns true if authenticated user has already muted this actor by list, otherwise false.
no setter
isNotBlockedBy bool
Returns true if authenticated user has not blocked yet by this actor, otherwise false.
no setter
isNotBlocking bool
Returns true if authenticated user has not blocked yet this actor, otherwise false.
no setter
isNotBlockingByList bool
Returns true if authenticated user has not blocked yet blocked actors by list, otherwise false.
no setter
isNotFollowedBy bool
Returns true if authenticated user has not followed by yet by this actor, otherwise false.
no setter
isNotFollowing bool
Returns true if authenticated user has not following yet this actor, otherwise false.
no setter
isNotMuted bool
Returns true if authenticated user has not muted yet this actor, otherwise false.
no setter
isNotMutedByList bool
Returns true if authenticated user has not muted yet this actor by list, otherwise false.
no setter
labels List<Label>?
no setterinherited
postsCount int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewer ActorViewer
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited