Characters.where which unnecessarily did the iteration and test twice.Characters.empty constant and makes Characters("") return it.Characters.contains to (covariant) String. The implementation still accepts Object?, so it can be cast to Iterable<Object?>, but you get warned if you try to call directly with a non-String.stringBeforeLength and stringAfterLength to CharacterRange.CharacterRange.at constructor.getRange(start, end) and characterAt(pos) to Characters as alternative to .take(end).skip(start) and getRange(pos, pos + 1).other to characters.split methods on Characters and CharacterRange.Added an extension method on String to allow easy access to the Characters of the string:
print('The first character is: ' + myString.characters.first)
Updated Dart SDK dependency to Dart 2.6.0
example/main.dart