Renames from to to, replacing to.
from
to
@override void renameSync(String from, String to) { final file = _files.remove(from); if (file == null) throw StateError('no such file: $from'); _files[to] = file; }