times method

String times(
  1. int count, {
  2. String separator = '',
})

Implementation

String times(int count, {String separator=''}) => List.filled(count, this).join(separator);