isSynthetic property Null safety

bool isSynthetic

Returns true if the reflectee is synthetic, and returns false otherwise.

A reflectee is synthetic if it is a getter or setter implicitly introduced for a field or Type, or if it is a constructor that was implicitly introduced as a default constructor or as part of a mixin application.

Implementation

bool get isSynthetic;