cleanup method

Future<void> cleanup()

Implementation

Future<void> cleanup() async {
  final tempDirectory = Directory(_tempDirectoryPath);
  if (tempDirectory.existsSync()) {
    tempDirectory.deleteSync(recursive: true);
  }
}