ResendEmailClient class
The client for the Resend Email API
Constructors
- ResendEmailClient.new({required String apiKey})
- Constructor of ResendEmailClient
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieveEmail(
String emailId) → Future< ResendResult< ResendRetrieveEmailResponse> > - Retrieve a single email.
-
sendBatchEmails(
List< ResendEmailBatchParams> paramsList) → Future<ResendResult< ResendSendBatchEmailsResponse> > - Trigger up to 100 batch emails at once.
-
sendEmail(
{required String from, required List< String> to, required String subject, List<String> ? bcc, List<String> ? cc, List<String> ? replyTo, String? html, String? text, Json? headers, List<ResendEmailAttachment> ? attachments, List<ResendEmailTag> ? tags}) → Future<ResendResult< ResendSendEmailResponse> > - Start sending emails through the Resend Email API.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited