isSynthetic property

  1. @Deprecated('Use isOriginDeclaration / isOriginImplicitDefault / ' 'isOriginMixinApplication instead, depending on intent.')
  2. @override
bool get isSynthetic
override

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

@Deprecated(
  'Use isOriginDeclaration / isOriginImplicitDefault / '
  'isOriginMixinApplication instead, depending on intent.',
)
@override
bool get isSynthetic;