hasDefaultValue property

bool hasDefaultValue

Returns true if defaultValue is NOT null.

Implementation

bool get hasDefaultValue => defaultValue != null;