unignoredFields property

Iterable<FieldElement> unignoredFields

All fields that are serializable by this generator and are not declared to be ignored by an annotation.

Implementation

Iterable<FieldElement> get unignoredFields {
  return fields.stableInstanceFields.where((field) {
    final annotation = fields.annotationForField(field);
    final checker = checkerForType(field.type);

    return !annotation.ignore && checker.isSerializable;
  });
}