addParameterToSupertype method
void
addParameterToSupertype(
- Reference parameter
Implementation
void addParameterToSupertype(Reference parameter) {
assert(_supertype != null);
final supertype = _supertype!;
_supertype = (
_supertype!.$1,
{...supertype.$2, parameter}.toList(),
);
}