MailJet class

Constructors

MailJet({required String apiKey, required String secretKey, String emailAPIversion = "v3.1", String smsAPIversion = "v4"})

Properties

apiKey String
final
emailAPIversion String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String
final
smsAPIversion String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendEmail({required String subject, required Sender sender, required List<Recipient> reciepients, String htmlEmail = "", String plainTextEmail = "", List<Recipient> Cc = const [], List<Recipient> Bcc = const [], Recipient? ReplyTo, String TemplateID = "", List<File> Attachments = const [], List<InlinedAttachment> InlinedAttachments = const []}) Future<String>
sendSMS({required String from, required String to, required String text, required String smsSecretKey}) Future<String>
toString() String
A string representation of this object.
inherited

Operators

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