ResendContactsClient class
The client for the Resend Contacts API
Constructors
- ResendContactsClient.new({required String apiKey})
- Constructor of ResendContactsClient
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addContact(
{required String audienceId, required String email, String? firstName, String? lastName, bool? unsubscribed}) → Future< ResendResult< ResendAddContactResponse> > - Create a contact inside an audience.
-
deleteContactByEmail(
{required String audienceId, required String contactEmail}) → Future< ResendResult< ResendDeleteContactResponse> > - Remove an existing contact from an audience by email
-
deleteContactById(
{required String audienceId, required String contactId}) → Future< ResendResult< ResendDeleteContactResponse> > - Remove an existing contact from an audience by ID
-
listContacts(
String audienceId) → Future< ResendResult< ResendListContactsResponse> > - Show all contacts from an audience.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieveContact(
{required String audienceId, required String contactId}) → Future< ResendResult< ResendRetrieveContactResponse> > - Retrieve a single contact from an audience.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateContact(
{required String audienceId, required String contactId, String? firstName, String? lastName, bool? unsubscribed}) → Future< ResendResult< ResendUpdateContactResponse> > - Update an existing contact.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited