messageToIcuString function

String messageToIcuString(
  1. Message message
)

Return a version of the message string with with ICU parameters "{variable}" rather than Dart interpolations "$variable".

Implementation

String messageToIcuString(Message message) {
  return message.expanded(_turnInterpolationIntoICUForm);
}