platform

switch

platform

case

TargetPlatform

android

// Do Android dance.

break

case

TargetPlatform

fuchsia

// Do Fuchsia dance.

break

case

TargetPlatform

iOS

// Do iOS dance.

break

case

TargetPlatform

linux

// new case

// Do Linux dance.

break

case

TargetPlatform

macOS

// Do macOS dance.

break

case

TargetPlatform

windows

// new case

// Do Windows dance.

break