convert method

Implementation

FirmwareUpgradeConfiguration convert() => FirmwareUpgradeConfiguration(
      estimatedSwapTime:
          Duration(milliseconds: this.estimatedSwapTimeMs as int),
      eraseAppSettings: this.eraseAppSettings,
      pipelineDepth: this.pipelineDepth as int,
      byteAlignment: this.byteAlignment.convent(),
      reassemblyBufferSize: this.reassemblyBufferSize as int,
      firmwareUpgradeMode: this.firmwareUpgradeMode.convent(),
    );