commit method Null safety

Future commit ()

Implementation

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