TupleClass<T extends List> constructor

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

Implementation

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