PathSet.of constructor

PathSet.of(Iterable<String> other, { Context context })

Creates a PathSet with the same contents as other whose elements are compared using context.equals and context.hash.

The context defaults to the current path context. If multiple elements in other represent the same logical path, the first value will be used.

Implementation

PathSet.of(Iterable<String> other, {p.Context context})
    : _inner = _create(context)..addAll(other);