skipRemainingKeys method
Skips the remaining key-value pairs in the collection.
This is useful when the Decodable implementation is not interested in the remaining key-value pairs. It must be called when nextKey is not used exhaustively.
Implementation
@override
void skipRemainingKeys() {
for (; nextKey() != null;) {
skipCurrentValue();
}
}