ThingGenerator<T> typedef

ThingGenerator<T> = T Function(int index, RandomNumber random, RandomBool yesOrNo)

The shape of a T producing function.

Implementation

typedef ThingGenerator<T> = T Function(
  int index,
  RandomNumber random,
  RandomBool yesOrNo,
);