Returns the substring of this string that extends from startIndex, inclusive, to endIndex, exclusive
startIndex
endIndex
String? substring(int startIndex, [int? endIndex]) => value?.substring(startIndex, endIndex);