RawContact class

Information about a raw contact with its identifiers and account.

One Contact can have multiple RawContacts from different sources (Google, WhatsApp, etc.).

Constructors

RawContact({String? rawContactId, String? sourceId, Account? account})
const

Properties

account Account?
Account this raw contact belongs to.
final
hashCode int
The hash code for this object.
no setteroverride
rawContactId String?
Raw contact ID. Unstable, local-only. Use when modifying data.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceId String?
Source ID. Stable server UUID. Use for sync matching.
final

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.
override

Static Methods

fromJson(Map? json) RawContact?