Account class Null safety

Account information, which is exposed for information and debugging purposes and should be ignored in most cases.

On Android this is the raw account, and there can be several accounts per unified contact (for example one for Gmail, one for Skype and one for WhatsApp). On iOS it is called container, and there can be only one container per contact.

Constructors

Account(String rawId, String type, String name, List<String> mimetypes)
Account.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
mimetypes List<String>
Android mimetypes provided by this account.
read / write
name String
Account name, e.g. john.doe@gmail.com.
read / write
rawId String
Raw account ID.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
Account type, e.g. com.google or com.facebook.messenger.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited