withMemoryCorrectionHint function

String withMemoryCorrectionHint(
  1. String message, {
  2. bool autoMemoryEnabled = false,
})

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;
}