commit method

Future commit()

Implementation

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