toInteger method
Converts this type to an integer. Throws a StateError if this is not an integer.
Implementation
RespInteger toInteger() => throw StateError('${toString()} is not an integer!');
Converts this type to an integer. Throws a StateError if this is not an integer.
RespInteger toInteger() => throw StateError('${toString()} is not an integer!');