isSynthetic property

bool get isSynthetic

Whether this fragment is synthetic.

A synthetic fragment is a fragment 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

// TODO(brianwilkerson): Should synthetic elements have a fragment?
bool get isSynthetic;