hasFinalField property

bool get hasFinalField

Returns true if some field is final (ignoring hashCode).

Implementation

bool get hasFinalField => _hasFinalField ??= fieldsWhere(
  (f) => f.name != 'hashCode' && f.isFinal,
).isNotEmpty;