UpdateInfo.empty constructor

UpdateInfo.empty({
  1. String installedVersion = '',
})

Implementation

factory UpdateInfo.empty({String installedVersion = ''}) {
  return UpdateInfo(
    availableVersion: '',
    link: '',
    hasUpdate: false,
    installedVersion: installedVersion,
  );
}