addConstructor method
Implementation
void addConstructor(ASTClassConstructorDeclaration constructor) {
var name = constructor.name;
constructor.parentBlock = this;
var set = _constructors[name];
if (set == null) {
_constructors[name] = ASTConstructorSetSingle(constructor);
} else {
var set2 = set.add(constructor);
if (!identical(set, set2)) {
_constructors[name] = set2;
}
}
}