MastodonRelationshipSeveranceEvent class

Relationship severance event (Mastodon 4.3+).

Annotations

Constructors

MastodonRelationshipSeveranceEvent({required String id, required String type, required bool purged, required String targetName, required int followersCount, required int followingCount, DateTime? createdAt})
const
MastodonRelationshipSeveranceEvent.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime?
final
followersCount int
Number of affected followers.
final
followingCount int
Number of affected followings.
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
purged bool
Whether the account was purged.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetName String
Name of the severed domain or account.
final
type String
Type of event (domain_block / user_domain_block / account_suspension).
final

Methods

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

Operators

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