getDevices method Null safety

Future getDevices()

Implementation

Future getDevices() => promiseToFuture(JS("", "#.getDevices()", this));