TargetPlatformVariant.desktop constructor Null safety

TargetPlatformVariant.desktop()

Creates a TargetPlatformVariant that includes platforms that are considered desktop platforms.

Implementation

TargetPlatformVariant.desktop() : values = <TargetPlatform>{
  TargetPlatform.linux,
  TargetPlatform.macOS,
  TargetPlatform.windows,
};