argName property

String get argName

Retrieves the argument name, considering tuple types.

Implementation

String get argName {
  if (isTupple) {
    final String match =
        _ABIValidator.arrayDetectRegex.firstMatch(type)?.group(0) ?? "";
    return "(${components.map((e) => e.argName).join(",")})$match";
  }
  return type;
}