stableInstanceFields property

Iterable<FieldElement> get stableInstanceFields
inherited

ignore private, static, and Function fields

Implementation

Iterable<FieldElement> get stableInstanceFields {
  return sorted.where((field) {
    return field.isPublic &&
        (field.isFinal || field.isConst || field.getter != null) &&
        !field.isStatic &&
        !field.type.isDartCoreFunction;
  });
}