channel static method

SdkDeployTask channel({
  1. UfbtUpdateChannel channel = UfbtUpdateChannel.release,
  2. String hwTarget = defaultHwTarget,
  3. String? indexUrl,
  4. bool force = false,
})

Implementation

static SdkDeployTask channel({
  UfbtUpdateChannel channel = UfbtUpdateChannel.release,
  String hwTarget = defaultHwTarget,
  String? indexUrl,
  bool force = false,
}) {
  return SdkDeployTask(
    hwTarget: hwTarget,
    mode: UpdateChannelSdkLoader.loaderModeKey,
    force: force,
    params: {'channel': channel.key, 'json_index': ?indexUrl},
  );
}