targetPlatform property

TargetPlatform get targetPlatform

The framework's name for this platform.

Implementation

TargetPlatform get targetPlatform => switch (this) {
  android => TargetPlatform.android,
  ios => TargetPlatform.iOS,
};