isAppleOS function
Implementation
bool isAppleOS([TargetPlatform? targetPlatform]) {
targetPlatform ??= defaultTargetPlatform;
return {
TargetPlatform.macOS,
TargetPlatform.iOS,
}.contains(targetPlatform);
}
bool isAppleOS([TargetPlatform? targetPlatform]) {
targetPlatform ??= defaultTargetPlatform;
return {
TargetPlatform.macOS,
TargetPlatform.iOS,
}.contains(targetPlatform);
}