propsOf method

List<Object?> propsOf(
  1. E entity
)

The payload field values of entity, for Equatable.props overrides without restating field names (core fields come from super.props):

@override
List<Object?> get props => [...super.props, ...taskSchema.propsOf(this)];

Implementation

List<Object?> propsOf(E entity) => [
      for (final field in fields)
        if (field.coreRole == null) _valueOf(field, entity),
    ];