EmailService class
Constructors
- EmailService(App _app)
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
-
closeServer(
) → Future< void> -
keyFormat(
String key) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendFromTemplateFile(
Message message, String templateFilePath, Map< String, String> values) → Future<SendReport> -
this will convert the email template into a message content
don't add text or html because they will be replaced by the template
template file can be in any format, html, txt or whatever
template value should be on format</valueKeyHere/>
and you just need to replace the valueKeyHere with the actual value in the values object in this function -
sendFromTemplateText(
Message message, String templateString, Map< String, String> values) → Future<SendReport> -
sendMessage(
Message message) → Future< SendReport> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited