TupleClass<T extends List> constructor

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

Implementation

TupleClass(List<CType> components) : super() {
  _components = components;
  _fields = (Map.from(makeMap(components))).entries.toList();
  _fields.sort(
      (a, b) => idlLabelToId(a.key).toInt() - idlLabelToId(b.key).toInt());
}