MastodonRelationship constructor

const MastodonRelationship({
  1. required String id,
  2. required bool following,
  3. required bool showingReblogs,
  4. required bool notifying,
  5. required bool followedBy,
  6. required bool blocking,
  7. required bool blockedBy,
  8. required bool muting,
  9. required bool mutingNotifications,
  10. required bool requested,
  11. required bool requestedBy,
  12. required bool domainBlocking,
  13. required bool endorsed,
  14. required String note,
  15. List<String>? languages,
})

Creates a MastodonRelationship with the given fields.

Implementation

const MastodonRelationship({
  required this.id,
  required this.following,
  required this.showingReblogs,
  required this.notifying,
  required this.followedBy,
  required this.blocking,
  required this.blockedBy,
  required this.muting,
  required this.mutingNotifications,
  required this.requested,
  required this.requestedBy,
  required this.domainBlocking,
  required this.endorsed,
  required this.note,
  this.languages,
});