SolTuple constructor

SolTuple(
  1. List<SolType> components, {
  2. List<String>? names,
})

Implementation

SolTuple(this.components, {this.names}) {
  if (names != null && names!.length != components.length) {
    throw ArgumentError(
        'names length (${names!.length}) must match components length (${components.length})');
  }
}