clear method Null safety

Future clear ()

Implementation

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