commit method

Future<Map<String, dynamic>> commit()

Implementation

Future<Map<String, dynamic>> commit() async {
  final resp = await _connection.request(
    method: 'PUT',
    path: '/_api/transaction/$id',
  );
  return resp.body['result'];
}