next method Null safety

  1. @JSName('continue')
void next (
  1. [Object? key]
)
@JSName('continue')

Implementation

@JSName('continue')
void next([Object? key]) {
  if (key == null) {
    JS('void', '#.continue()', this);
  } else {
    JS('void', '#.continue(#)', this, key);
  }
}