changed "< 0" to ".isNegative" (#39)

diff --git a/lib/src/string_scanner.dart b/lib/src/string_scanner.dart
index 5d69c75..d254b04 100644
--- a/lib/src/string_scanner.dart
+++ b/lib/src/string_scanner.dart
@@ -22,7 +22,7 @@
   /// The current position of the scanner in the string, in characters.
   int get position => _position;
   set position(int position) {
-    if (position < 0 || position > string.length) {
+    if (position.isNegative || position > string.length) {
       throw ArgumentError('Invalid position $position');
     }