platforms property

List<TargetPlatform> get platforms

The list of target platforms provided in the config

Implementation

List<TargetPlatform> get platforms => [
  if (ios != null) TargetPlatform.ios,
  if (android != null) TargetPlatform.android,
  if (macos != null) TargetPlatform.macos,
  if (linux != null) TargetPlatform.linux,
  if (windows != null) TargetPlatform.windows,
  if (web != null) TargetPlatform.web,
];