abortChange method

Future<SnapdChange> abortChange(
  1. String id
)

Aborts the change with the given id.

Implementation

Future<SnapdChange> abortChange(String id) async {
  var queryParameters = {'action': 'abort'};
  var result = await _postSync('/v2/changes/$id', queryParameters);
  return SnapdChange.fromJson(result);
}