Repeats the given string n times.
String repeat(String string, int n) { return List.filled(n, string).join(); }