isCommentedOut static method
Check if pod is commented out
Implementation
static bool isCommentedOut(File podfile) {
try {
final content = podfile.readAsStringSync();
final lines = content.split('\n');
for (final line in lines) {
if (line.contains('ULinkSDK')) {
return line.trim().startsWith('#');
}
}
return false;
} catch (e) {
return false;
}
}