Relationship class
Represents the relationship between accounts, such as following / blocking / muting / etc. https://docs.joinmastodon.org/entities/relationship/
- Annotations
-
- @JsonSerializable()
Constructors
- Relationship({required String id, required bool following, required bool followedBy, required bool blocking, required bool muting, required bool mutingNotifications, required bool requested, required bool domainBlocking, required bool showingReblogs, required bool endorsed, required bool blockedBy})
-
Relationship.fromJson(Map<
String, dynamic> json) -
factory
Properties
- blockedBy → bool
-
Is this user blocking you?
final
- blocking → bool
-
Are you blocking this user?
final
- domainBlocking → bool
-
Are you blocking this user's domain?
final
- endorsed → bool
-
Are you featuring this user on your profile?
final
- followedBy → bool
-
Are you followed by this user?
final
- following → bool
-
Are you following this user?
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The account id
final
- muting → bool
-
Are you muting this user?
final
- mutingNotifications → bool
-
Are you muting notifications from this user?
final
- requested → bool
-
Do you have a pending follow request for this user?
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showingReblogs → bool
-
Are you receiving this user's boosts in your home timeline?
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited