close method Null safety

Future close()

Implementation

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