isDevModeEnabled static method
Implementation
static Future<bool> isDevModeEnabled() async {
if (!Platform.isAndroid) {
return false;
}
try {
final bool result = await platform.invokeMethod('isDevModeEnabled');
return result;
} on PlatformException catch (e) {
print("Failed to check dev mode: ${e.message}");
return false;
}
}