delete method

  1. @override
Future<bool> delete()
override

Implementation

@override
Future<bool> delete() async {
  if (await _file.exists()) {
    await _file.delete();
    return true;
  }

  return false;
}