updateFrom method

void updateFrom(
  1. SdkDeployTask other
)

Implementation

void updateFrom(SdkDeployTask other) {
  if (other.hwTarget != null) hwTarget = other.hwTarget;
  if (other.mode != null) mode = other.mode;
  force = other.force;
  other.params.forEach((key, value) {
    if (value.isNotEmpty) params[key] = value;
  });
}