argsToString static method

String argsToString(
  1. List<CType> types,
  2. List v
)

Implementation

static String argsToString(List<CType> types, List v) {
  if (types.length != v.length) {
    throw RangeError.range(
      types.length,
      v.length,
      v.length,
      'types',
      'Arity mismatch',
    );
  }
  return '(${types.asMap().entries.map((e) => e.value.valueToString(v[e.key])).join(', ')})';
}