channel static method
SdkDeployTask
channel({
- UfbtUpdateChannel channel = UfbtUpdateChannel.release,
- String hwTarget = defaultHwTarget,
- String? indexUrl,
- 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},
);
}