withMemoryCorrectionHint function
Append a memory correction hint when auto-memory is enabled.
Implementation
String withMemoryCorrectionHint(
String message, {
bool autoMemoryEnabled = false,
}) {
if (autoMemoryEnabled) {
return message + _memoryCorrectionHint;
}
return message;
}