chars static method

String chars(
  1. int charNo, [
  2. String char = 'C'
])

Returns a string of charNo length with char repeated

Implementation

static String chars(int charNo, [String char = 'C']) => char * charNo;