facets method

List<ElasticFacet>? facets(
  1. String field
)

Easier way to retrieve a list of facets rather than use the raw map

Implementation

List<ElasticFacet>? facets(String field) => rawFacets?[field];