shuffle property
String?
shuffle
Shuffles the given String
's characters.
Example
String foo1 = 'esentis';
String shuffled = foo.shuffle; // 'tsniees'
Implementation
String? get shuffle {
if (this.isBlank) {
return this;
}
var stringArray = toArray;
stringArray.shuffle();
return stringArray.join();
}