isDefaultConstructor property

bool get isDefaultConstructor

Implementation

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