CborList.generate constructor

CborList.generate(
  1. int len,
  2. CborValue f(
    1. int index
    ), {
  3. List<int> tags,
})

Create a new CborList from generator.

The resulting list is growable.

Implementation

factory CborList.generate(int len, CborValue Function(int index) f,
    {List<int> tags}) = _CborListImpl.generate;