TargetPlatformVariant.only constructor Null safety
- TargetPlatform platform
Creates a TargetPlatformVariant that tests only the given value of TargetPlatform.
Implementation
TargetPlatformVariant.only(TargetPlatform platform) : values = <TargetPlatform>{platform};