init method

void init(
  1. Uri url
)

Sets the app archive URL and starts the initial update check when enabled.

Implementation

void init(Uri url) {
  _appArchiveUrl = url;
  if (_skipInitialVersionCheck) {
    notifyListeners();
    return;
  }

  unawaited(_recoverThenCheckVersionQuietly());
  notifyListeners();
}