isNeedingNewMacOSIcon function
Checks if the config need macos.
Implementation
bool isNeedingNewMacOSIcon(Map<String, dynamic> platforms) {
return hasMacOSConfig(platforms) &&
(platforms['macos'] as Map<String, dynamic>)['enable'] == true;
}