commit property

Future<CommitsHandler<ReturnType>> Function() commit
final

This will commit the file(s) to storage. The return value can be used to revert the changes or to get the result of the commit. If you'd like to listen to the progress, you can find that in the snapshot parameter.

Implementation

final Future<CommitsHandler<ReturnType>> Function() commit;