static Future<void> set(bool granted) async { Map<String, dynamic> values = { 'granted': granted, }; await _channel.invokeMethod('set', values); }