of static method

Profiles of(
  1. List<String> expressions
)

Factory method for parsing profile expressions into a Profiles instance.

Returns a compound predicate that evaluates to true if the expression matches.

Implementation

static Profiles of(List<String> expressions) => ProfilesParser.parse(expressions);