convertFieldsToStrings method

  1. @override
Iterable<String> convertFieldsToStrings(
  1. Iterable<TaxonomyPackagingField> fields
)
override

Converts the given list of fields to their corresponding query string values.

Implementation

@override
Iterable<String> convertFieldsToStrings(
  Iterable<TaxonomyPackagingField> fields,
) =>
    fields
        .where(
            (TaxonomyPackagingField field) => !ignoredFields.contains(field))
        .map<String>((TaxonomyPackagingField field) => field.offTag);