getIsSynthetic method

  1. @override
bool getIsSynthetic()
override

Indicates whether this declaration is synthetic.

Synthetic declarations are generated by the compiler or tooling rather than authored directly by the user.

Examples:

  • Implicit constructors
  • Generated backing fields

Implementation

@override
bool getIsSynthetic() => _isSynthetic;