readInt method
Reads an int
from this Pickle.
This will throw ArgumentError if the key is empty and no default value has been provided or PickleTypeError if the associated value is of a different type than expected.
Implementation
int readInt(final String key, {final int? defaultValue}) =>
_read(key, defaultValue: defaultValue);