Account class Null safety

Account is a user's and their acquaintances' identity on a App. Each person can have multiple Accounts and on multiple Apps.

Implemented types
Annotations

Constructors

Account({@JsonString() required String id, @JsonDateTime() required DateTime created, @JsonDateTime() required DateTime updated, required String archiveId, required String name, required String appId, required bool isOwner, @Default([]) List<String> emails, @JsonExtra() @Default({}) Map<String, dynamic> extra})
Account is a user's and their acquaintances' identity on a App. Each person can have multiple Accounts and on multiple Apps.
const
factory
Account.fromJson(Map<String, dynamic> data)
Creates a Account from Json map
factory

Properties

appId String
app is the App where the Account is registered.
read-onlyinherited
archiveId String
read-onlyinherited
copyWith → $AccountCopyWith<Account>
read-onlyinherited
created DateTime
read-onlyinherited
emails List<String>
emails is the email used by the Account on the App.
read-onlyinherited
extra Map<String, dynamic>
extra is a map of additional properties.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
id String
read-onlyinherited
isOwner bool
isOwner is true if the Account is the owner of the Archive.
read-onlyinherited
labels List<String>
labels is a list of labels assigned to the model.
final
name String
name is the name used by the Account on the App.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
updated DateTime
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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