Returns the last character as a Some, or None if the string is empty.
@pragma('vm:prefer-inline') Option<String> get lastOrNone => isEmpty ? const None() : Some(this[length - 1]);