hasDefaultValue property

bool get hasDefaultValue

Returns true if defaultValue is NOT null.

Implementation

bool get hasDefaultValue => defaultValue != null;