trimLeft method Null safety
The string without any leading whitespace.
As trim, but only removes leading whitespace.
final string = ' Dart '.trimLeft();
print(string); // 'Dart '
Implementation
String trimLeft();
The string without any leading whitespace.
As trim, but only removes leading whitespace.
final string = ' Dart '.trimLeft();
print(string); // 'Dart '
String trimLeft();