publishPlatforms property
List<TargetPlatform>
get
publishPlatforms
The list of target platforms provided in the config for publishing Only iOS and Android are supported for publishing at the moment, and they will be returned if they have a publish config
Implementation
List<TargetPlatform> get publishPlatforms => [
if (ios != null && ios!.iosConfig?.publishConfig != null) TargetPlatform.ios,
if (android != null && android!.androidConfig?.publishConfig != null) TargetPlatform.android,
];