GsonParsable class

Constructors

GsonParsable(String _parsable, { int position: 0 })

Properties

ended → bool
read-only
parsable → String
read-only
position → int
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

actual() → String
Get actual
error(String message, { int from: 0, int to: 0 }) → Exception
generate a error at the position of the parsable
goBack(int number) → void
Go Steps back
has(int space) → bool
test if has amount of symbols left
hasNext() → bool
test if has next symbol
next() → String
Get actual and go one forward
peek(int number) → String
peek forward
reformatError(Exception e, [ StackTrace stack ]) → Exception
reformat error
skip() → void
Skip one
toString({int from: 0, int to: 0, bool err: false }) → String
String representation of parsable (marks actual position)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited