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, 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}) -
constfactory
-
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 ifdeactivatedAt
is not null, otherwise false.no setter - hasEmail → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifemail
is not null, otherwise false.no setter - hasEmailConfirmedAt → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifemailConfirmedAt
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 ifinvitedBy
is not null, otherwise false.no setter - hasInviteNote → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifinviteNote
is not null, otherwise false.no setter - hasInvites → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifinvites
is not null, otherwise false.no setter - hasNotDeactivatedAt → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifdeactivatedAt
is null, otherwise false.no setter - hasNotEmail → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifemail
is null, otherwise false.no setter - hasNotEmailConfirmedAt → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifemailConfirmedAt
is null, otherwise false.no setter - hasNotInvitedBy → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifinvitedBy
is null, otherwise false.no setter - hasNotInviteNote → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifinviteNote
is null, otherwise false.no setter - hasNotInvites → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifinvites
is null, otherwise false.no setter - hasNotRelatedRecords → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns true ifrelatedRecords
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 ifrelatedRecords
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 frominvitesDisabled
.no setter - isNotInvitesDisabled → bool
-
Available on AccountView, provided by the $AccountViewExtension extension
Returns negated true or false frominvitesDisabled
.no setter -
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