EasyResend class

A class for sending emails by Resend.

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
retriveEmail(String id) Future<Email>
sendBatch(List<EmailToBach> emails) Future<List<String>>
sendEmail({required String from, required List<String> to, required String subject, String text = '', List<Attachment> attachments = const [], List<String> bcc = const [], List<String> cc = const [], String? html}) Future<String>
Sends an email using the Easy Resend API.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance() EasyResend
Retrieves the singleton instance of EasyResend.
initialize(dynamic apiKey) → void
Initializes the EasyResend singleton instance with the provided API key.