buildPlatforms property
List<TargetPlatform>
get
buildPlatforms
The list of target platforms provided in the config for building, in platformOrder iOS and android config may exist without a build command, in which case they will not be returned All other platforms, since they do not have a publish config yet, will return if have a config
Implementation
List<TargetPlatform> get buildPlatforms => [
for (TargetPlatform platform in platformOrder)
if (platformConfig(platform) != null && platformConfig(platform)!.buildCommand.isNotEmpty) platform,
];