RxObsList<E>.generate constructor

RxObsList<E>.generate(
  1. int length,
  2. E generator(
    1. int index
    ), {
  3. bool growable = true,
})

Generates a list of values.

Implementation

factory RxObsList.generate(
  int length,
  E Function(int index) generator, {
  bool growable = true,
}) => RxObsList(List<E>.generate(length, generator, growable: growable));