hasDefaults property

bool get hasDefaults

returns true if one of the defaults its not null

Implementation

bool get hasDefaults =>
    defaultModelValue != null || defaultPersistValue != null;