move method

Future<void> move(
  1. String from,
  2. String to
)

Moves the file at from to to.

Implementation

Future<void> move(String from, String to) => _run(from, () async {
  _guardWrite('move');
  final String source = _resolve(from);
  final String target = _resolve(to);
  await driver.move(source, target);
  _written(source);
  _written(target);
});