GetContactResult class

Result data returned by getContact.

Constructors

GetContactResult({required String email, required String languageTag, required String name, required List<String> notificationCategorySubscriptions, required String validateTime, required String validationState})
Creates a new GetContactResult. email The email address to send notifications to. The email address does not need to be a Google Account. languageTag The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages. name The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id} notificationCategorySubscriptions The categories of notifications that the contact will receive communications for. validateTime The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago. validationState The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
const
GetContactResult.fromMap(Map<String, dynamic> map)
factory

Properties

email → String
The email address to send notifications to. The email address does not need to be a Google Account.
final
hashCode → int
The hash code for this object.
no setterinherited
languageTag → String
The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
final
name → String
The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
final
notificationCategorySubscriptions → List<String>
The categories of notifications that the contact will receive communications for.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
validateTime → String
The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
final
validationState → String
The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited