GmailApi class Null safety

The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.

Constructors

GmailApi(Client client, {String rootUrl = 'https://gmail.googleapis.com/', String servicePath = ''})

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
users UsersResource
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

gmailAddonsCurrentActionComposeScope → const String
Manage drafts and send emails when you interact with the add-on
'https://www.googleapis.com/auth/gmail.addons.current.action.compose'
gmailAddonsCurrentMessageActionScope → const String
View your email messages when you interact with the add-on
'https://www.googleapis.com/auth/gmail.addons.current.message.action'
gmailAddonsCurrentMessageMetadataScope → const String
View your email message metadata when the add-on is running
'https://www.googleapis.com/auth/gmail.addons.current.message.metadata'
gmailAddonsCurrentMessageReadonlyScope → const String
View your email messages when the add-on is running
'https://www.googleapis.com/auth/gmail.addons.current.message.readonly'
gmailComposeScope → const String
Manage drafts and send emails
'https://www.googleapis.com/auth/gmail.compose'
gmailInsertScope → const String
Add emails into your Gmail mailbox
'https://www.googleapis.com/auth/gmail.insert'
gmailLabelsScope → const String
See and edit your email labels
'https://www.googleapis.com/auth/gmail.labels'
gmailMetadataScope → const String
View your email message metadata such as labels and headers, but not the email body
'https://www.googleapis.com/auth/gmail.metadata'
gmailModifyScope → const String
Read, compose, and send emails from your Gmail account
'https://www.googleapis.com/auth/gmail.modify'
gmailReadonlyScope → const String
View your email messages and settings
'https://www.googleapis.com/auth/gmail.readonly'
gmailSendScope → const String
Send email on your behalf
'https://www.googleapis.com/auth/gmail.send'
gmailSettingsBasicScope → const String
See, edit, create, or change your email settings and filters in Gmail
'https://www.googleapis.com/auth/gmail.settings.basic'
gmailSettingsSharingScope → const String
Manage your sensitive mail settings, including who can manage your mail
'https://www.googleapis.com/auth/gmail.settings.sharing'
mailGoogleComScope → const String
Read, compose, send, and permanently delete all your email from Gmail
'https://mail.google.com/'