forTag property Null safety

Map<BooleanSelector, Metadata> forTag
final

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.

Implementation

final Map<BooleanSelector, Metadata> forTag;