hasDefaultValue abstract method

bool hasDefaultValue()

Returns true if the field has a default value.

Example

final annotation = ...;
final fields = annotation.getFields();
print(fields.map((f) => f.hasDefaultValue())); // [true]

Implementation

bool hasDefaultValue();