prompt method Null safety

Future prompt()

Implementation

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