requestPermission method
- @JSName('requestPermission')
@JSName('requestPermission')
Implementation
@JSName('requestPermission')
static Future<String> requestPermission() {
var completer = new Completer<String>();
_requestPermission((value) {
completer.complete(value);
});
return completer.future;
}