operator * abstract method
String operator *(Creates a new string by concatenating this string with itself a number of times.
The result of str * n
is equivalent to str + str + ...
(n times)... + str
.
Returns an empty string if times
is zero or negative.
Source
String operator *(int times);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/String/operator_multiply.html