forward method

void forward()

Equivalent to calling go with +1.

Implementation

void forward() => go(1);