isDefaultConstructor property

bool isDefaultConstructor

Implementation

bool get isDefaultConstructor => name.isEmpty && hasNoParameters;