AccountView class

Available extensions
Annotations
  • @freezed

Constructors

AccountView.new({@Default(comAtprotoAdminDefsAccountView) @JsonKey(name: r'$type') String $type, required String did, required String handle, String? email, List<Map<String, dynamic>>? relatedRecords, required DateTime indexedAt, @InviteCodeConverter() InviteCode? invitedBy, @InviteCodeConverter() List<InviteCode>? invites, @Default(false) bool invitesDisabled, DateTime? emailConfirmedAt, String? inviteNote, DateTime? deactivatedAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
AccountView.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $AccountViewCopyWith<AccountView>
no setterinherited
deactivatedAt DateTime?
no setterinherited
did String
no setterinherited
email String?
no setterinherited
emailConfirmedAt DateTime?
no setterinherited
handle String
no setterinherited
hasDeactivatedAt bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if deactivatedAt is not null, otherwise false.
no setter
hasEmail bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if email is not null, otherwise false.
no setter
hasEmailConfirmedAt bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if emailConfirmedAt is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasInvitedBy bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if invitedBy is not null, otherwise false.
no setter
hasInviteNote bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if inviteNote is not null, otherwise false.
no setter
hasInvites bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if invites is not null, otherwise false.
no setter
hasNotDeactivatedAt bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if deactivatedAt is null, otherwise false.
no setter
hasNotEmail bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if email is null, otherwise false.
no setter
hasNotEmailConfirmedAt bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if emailConfirmedAt is null, otherwise false.
no setter
hasNotInvitedBy bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if invitedBy is null, otherwise false.
no setter
hasNotInviteNote bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if inviteNote is null, otherwise false.
no setter
hasNotInvites bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if invites is null, otherwise false.
no setter
hasNotRelatedRecords bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if relatedRecords is null, otherwise false.
no setter
hasNotUnknown bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasRelatedRecords bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if relatedRecords is not null, otherwise false.
no setter
hasUnknown bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
indexedAt DateTime
no setterinherited
invitedBy InviteCode?
no setterinherited
inviteNote String?
no setterinherited
invites List<InviteCode>?
no setterinherited
invitesDisabled bool
no setterinherited
isInvitesDisabled bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns true or false from invitesDisabled.
no setter
isNotInvitesDisabled bool

Available on AccountView, provided by the $AccountViewExtension extension

Returns negated true or false from invitesDisabled.
no setter
relatedRecords List<Map<String, dynamic>>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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