TupleClass<T extends List> constructor

TupleClass<T extends List>(
  1. List<CType> components
)

Implementation

TupleClass(List<CType> components) : _components = components {
  _fields = components.mapIndexed(_makeField).sorted(
        (a, b) => idlLabelToId(a.key).toInt() - idlLabelToId(b.key).toInt(),
      );
}