repeat method

String repeat(
  1. int count
)

Implementation

String repeat(int count) {
  return List.filled(count, this).join();
}