Returns this string repeated n times, or empty if n <= 0. Audited: 2026-06-12 11:26 EDT
n
@useResult String repeatTimes(int n) => n <= 0 ? '' : List<String>.filled(n, this).join();