Generator<G> typedef

Generator<G> = G Function(int index, G? previous, G? next)

Type definition for callback that creates a new object based on index, previous and or next

Implementation

typedef Generator<G> = G Function(int index, G? previous, G? next);