repeat static method

String repeat(
  1. String value,
  2. int times
)

Repeats value times times.

Implementation

static String repeat(String value, int times) => value * times;