isSynthetic property
Whether the element is synthetic.
A synthetic element is an element that is not represented in the source code explicitly, but is implied by the source code, such as the default constructor for a class that does not explicitly define any constructors.
Implementation
@override
bool get isSynthetic {
return hasModifier(Modifier.SYNTHETIC);
}
Set whether this element is synthetic.
Implementation
set isSynthetic(bool isSynthetic) {
setModifier(Modifier.SYNTHETIC, isSynthetic);
}