leaveTheInterpolationsInDartForm function
This is a placeholder for transforming a parameter substitution from the translation file format into a Dart interpolation. In our case we store it to the file in Dart interpolation syntax, so the transformation is trivial.
Implementation
String leaveTheInterpolationsInDartForm(MainMessage msg, chunk) {
if (chunk is String) return chunk;
if (chunk is int) return "\$${msg.arguments[chunk]}";
return chunk.toCode();
}