skipRemainingItems method

  1. @override
void skipRemainingItems()
override

Skips the remaining items in the collection.

This is useful when the Decodable implementation is not interested in the remaining items. It must be called when nextItem is not used exhaustively.

Implementation

@override
void skipRemainingItems() {
  _index = __value.length;
}