format static method

String format(
  1. String fullText,
  2. List args
)

Implementation

static String format(String fullText, List<dynamic> args) {
  for (final element in args) {
    fullText = fullText.replaceFirst('%a', element.toString());
  }
  return fullText;
}