Generator<T, TReturn, TNext> class

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

Generator({IteratorResult<Object?, dynamic> next([Iterable?])?, IteratorResult<Object?, dynamic> return$(dynamic)?, IteratorResult<Object?, dynamic> throw$([dynamic])?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
next IteratorResult<T, TReturn> Function([Iterable?])

Available on Generator<T, TReturn, TNext>, provided by the Generator$Typings extension

getter/setter pair
next IteratorResult<T, TReturn> Function([Iterable?])

Available on Iterator<T, TReturn, TNext>, provided by the Iterator$Typings extension

getter/setter pair
return$ IteratorResult<T, TReturn> Function(TReturn)

Available on Generator<T, TReturn, TNext>, provided by the Generator$Typings extension

getter/setter pair
return$ IteratorResult<T, TReturn> Function([TReturn?])

Available on Iterator<T, TReturn, TNext>, provided by the Iterator$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throw$ IteratorResult<T, TReturn> Function([dynamic])

Available on Generator<T, TReturn, TNext>, provided by the Generator$Typings extension

getter/setter pair
throw$ IteratorResult<T, TReturn> Function([dynamic])

Available on Iterator<T, TReturn, TNext>, provided by the Iterator$Typings extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited