PersonSafe class

Annotations
  • @freezed

Constructors

PersonSafe({required int id, required String name, String? displayName, String? avatar, required bool banned, required DateTime published, DateTime? updated, required String actorId, String? bio, required bool local, String? banner, required bool deleted, required String inboxUrl, required String sharedInboxUrl, String? matrixUserId, required bool admin, required bool botAccount, DateTime? banExpires, required String instanceHost})
const
factory
PersonSafe.fromJson(Map<String, dynamic> json)
factory

Properties

actorId String
no setterinherited
admin bool
no setterinherited
avatar String?
no setterinherited
banExpires DateTime?
no setterinherited
banned bool
no setterinherited
no setterinherited
bio String?
no setterinherited
botAccount bool
no setterinherited
copyWith → $PersonSafeCopyWith<PersonSafe>
no setterinherited
deleted bool
no setterinherited
displayName String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
inboxUrl String
no setterinherited
instanceHost String
no setterinherited
local bool
no setterinherited
matrixUserId String?
no setterinherited
name String
no setterinherited
published DateTime
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedInboxUrl String
no setterinherited
updated DateTime?
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