UpdateInfo constructor

const UpdateInfo({
  1. required bool isAvailable,
  2. int? currentPatchNumber,
  3. int? nextPatchNumber,
})

Creates an UpdateInfo describing the current update state.

Implementation

const UpdateInfo({
  required this.isAvailable,
  this.currentPatchNumber,
  this.nextPatchNumber,
});