platforms property

Set<HostPlatform> platforms

The set of HostPlatforms that platform golden tests will run on.

This set determines whether a golden test should run on a given platform. Platforms not included in this set will ensure that golden tests are never run or checked on that platform. In other words, a golden test will only run if the current platform is included in this set.

By default, this set is the set of all HostPlatforms.

See HostPlatform for more details.

Implementation

Set<HostPlatform> get platforms => _platforms ?? _defaultPlatforms;