typeParameterAlreadyDefinedError function

String typeParameterAlreadyDefinedError(
  1. String typeParameter
)

Implementation

String typeParameterAlreadyDefinedError(String typeParameter) {
  return Intl.message(
    "The type parameter '$typeParameter' is already defined for this type. Try removing it or changing it's name.",
    name: 'typeAlreadyDefinedErrorMessage',
    args: [typeParameter],
    desc: 'The error message describing that a symbol is already defined in the scope.',
  );
}