forTag property

Map<BooleanSelector, Metadata> forTag

Metadata that applies only when specific tags are applied.

Tag-specific metadata is applied when merging this with other metadata. Note that unlike onPlatform, the base metadata takes precedence over any tag-specific metadata.

This is guaranteed not to have any keys that match tags; those are resolved when the metadata is constructed.


final Map<BooleanSelector, Metadata> forTag