Account class

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.
no setterinherited
mimetypes List<String>
Android mimetypes provided by this account.
getter/setter pair
name String
Account name, e.g. john.doe@gmail.com.
getter/setter pair
rawId String
Raw account ID.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Account type, e.g. com.google or com.facebook.messenger.
getter/setter pair

Methods

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