formattedMessage property
String
get
formattedMessage
Evaluates the message template with property substitutions.
Implementation
String get formattedMessage {
var result = template;
properties.forEach((key, val) {
result = result.replaceAll('{$key}', val.toString());
});
return result;
}