Pattern: Renaming overridden method parameter
Issue: -
Methods that override another method, but do not have their own documentation comment, will inherit the overridden method's comment when dartdoc produces documentation. If the inherited method contains the name of the parameter (in square brackets), then dartdoc cannot link it correctly.
Example of incorrect code:
abstract class A {
m(a);
}
abstract class B extends A {
m(b);
}
Example of correct code:
abstract class A {
m(a);
}
abstract class B extends A {
m(a);
}