rollback static method

Future<void> rollback()

Deletes the current patch. The next cold start runs the app's built-in version. Manual rollback does not blacklist the patch.

Implementation

static Future<void> rollback() async {
  if (_unsupportedGuard('rollback')) return;
  try {
    await PatcherChannel.rollback();
  } catch (e, s) {
    _log('rollback failed: $e', s);
  }
}