DVMailTemplate class

A mail message as translation keys, rendered per recipient locale.

The i18n section promises localised mail and notification templates and the mail layer took a finished subject and body, so every application either sent English to everyone or built its own per-locale rendering beside the catalogue that already held the translations.

Constructors

DVMailTemplate({required DVTranslationKey subject, required DVTranslationKey text, DVTranslationKey? html})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
html → DVTranslationKey?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subject → DVTranslationKey
final
text → DVTranslationKey
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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