isFeatureEnabled static method
Implementation
static Future<bool> isFeatureEnabled(String featureKey) async {
try {
final bool isEnabled = await plotlineChannel.invokeMethod('isFeatureEnabled', {
'featureKey': featureKey,
});
return isEnabled;
} catch (e) {
debugPrint("Error in isFeatureEnabled: $e");
return false; // Default fallback
}
}