TargetPlatformVariant.desktop constructor Null safety
Creates a TargetPlatformVariant that includes platforms that are considered desktop platforms.
Implementation
TargetPlatformVariant.desktop() : values = <TargetPlatform>{
TargetPlatform.linux,
TargetPlatform.macOS,
TargetPlatform.windows,
};