W3cubDocs

/Dart 2

isSynthetic property

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;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-mirrors/MethodMirror/isSynthetic.html