TargetPlatformVariant.only constructor

TargetPlatformVariant.only(
  1. TargetPlatform platform
)

Creates a TargetPlatformVariant that tests only the given value of TargetPlatform.

Implementation

TargetPlatformVariant.only(TargetPlatform platform) : values = <TargetPlatform>{platform};