VersionChecker constructor

VersionChecker({
  1. required String currentVersion,
  2. String packageName = 'zorphy',
  3. String apiBaseUrl = 'https://pub.dev',
  4. FetchJsonFunction? fetchJson,
  5. RunProcessFunction? processRunner,
})

Implementation

VersionChecker({
  required this.currentVersion,
  this.packageName = 'zorphy',
  this.apiBaseUrl = 'https://pub.dev',
  this.fetchJson,
  this.processRunner,
});