invalidNumber method

void invalidNumber()

The number is invalid, throw a FormatException.

Implementation

void invalidNumber() =>
    throw FormatException('Invalid Number: ${input.contents}');