close method
Closes any opened file handles.
If the Resource is already closed then invoking this method has no effect.
Implementation
@override
Future<void> close() async {
if (_randomAccessFile != null) {
_randomAccessFile!.onSuccess((it) {
try {
it.close();
} on Exception catch (e) {
Fimber.e("ERROR closing file", ex: e);
}
});
}
}