fileReplaceAtomically method
Atomically renames from over to.
Both paths must be on the same mounted filesystem.
Implementation
@override
Future<void> fileReplaceAtomically(String from, String to) =>
methodChannel.invokeMethod<void>(
'fileReplaceAtomically',
<String, Object?>{'path': from, 'destination': to},
);