clean method

Future<int> clean()

Implementation

Future<int> clean() =>
    _shouldClean().then((value) async => value ? (await _doClean()) : 0);