copyWithWrapped method

SamplingSchedule copyWithWrapped({
  1. Wrapped<int?>? samplingScheduleType,
  2. Wrapped<int?>? registerMapId,
  3. Wrapped<int?>? intervalSeconds,
})

Implementation

SamplingSchedule copyWithWrapped(
    {Wrapped<int?>? samplingScheduleType,
    Wrapped<int?>? registerMapId,
    Wrapped<int?>? intervalSeconds}) {
  return SamplingSchedule(
      samplingScheduleType: (samplingScheduleType != null
          ? samplingScheduleType.value
          : this.samplingScheduleType),
      registerMapId:
          (registerMapId != null ? registerMapId.value : this.registerMapId),
      intervalSeconds: (intervalSeconds != null
          ? intervalSeconds.value
          : this.intervalSeconds));
}