dropLeft method
Drop first n characters from a string.
Implementation
String dropLeft(int n) {
if (this == null) {
throw ArgumentError('string: $this');
}
if (this!.isEmpty) {
return '';
}
if (n < 0) {
throw ArgumentError('n: $n');
}
if (n > this!.length) {
return '';
}
return this!.substring(n);
}