supportedTargetTargets method
List<Target>
supportedTargetTargets(
{ - Map<OS, List<OS>> osCrossCompilation = OS.osCrossCompilationDefault,
})
A list of supported target Targets from this host os.
Implementation
List<Target> supportedTargetTargets(
{Map<OS, List<OS>> osCrossCompilation =
OS.osCrossCompilationDefault}) =>
Target.values
.where((target) =>
// Only valid cross compilation.
osCrossCompilation[os]!.contains(target.os) &&
// And no deprecated architectures.
target != Target.iOSArm)
.sorted;