after method
Get the substring of a string after a string.
Implementation
String after(String string) {
if (this == null) {
throw ArgumentError('string: $this');
}
if (this!.isEmpty) {
return '';
}
final index = this!.indexOf(string);
if (index == -1) {
return '';
}
return this!.substring(index + string.length);
}