GsonParsable class
A parsable object for the GsonDecoder to use
Constructors
- GsonParsable(String _parsable, {int position = 0})
Properties
Methods
-
actual(
) → String - Get actual
-
error(
String message, {int from = 0, int to = 0}) → Exception -
generate a error at the position of the parsable
override
-
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited