argsToString static method

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

Implementation

static argsToString(List<CType> types, List v) {
  if (types.length != v.length) {
    throw 'arity mismatch';
  }
  return '(' +
      types
          .asMap()
          .entries
          .map((entry) => entry.value.valueToString(v[entry.key]))
          .join(', ') +
      ')';
}