secureApplicationHandler static method
Implementation
static Future<dynamic> secureApplicationHandler(
MethodCall methodCall, lock, unlock) async {
switch (methodCall.method) {
case 'lock':
lock();
break;
case 'unlock':
unlock();
break;
default:
throw MissingPluginException('notImplemented');
}
}