HcAppCast constructor

HcAppCast({
  1. Client? client,
  2. HcUpgradeOS? hcUpgradeOS,
  3. HcUpgradeDevice? hcUpgradeDevice,
})

Implementation

HcAppCast({
  http.Client? client,
  HcUpgradeOS? hcUpgradeOS,
  HcUpgradeDevice? hcUpgradeDevice,
})  : client = client ?? http.Client(),
      hcUpgradeOS = hcUpgradeOS ?? HcUpgradeOS(),
      hcUpgradeDevice = hcUpgradeDevice ?? HcUpgradeDevice();