copyWith method

SamplingSchedule copyWith({
  1. int? samplingScheduleType,
  2. int? registerMapId,
  3. int? intervalSeconds,
})

Implementation

SamplingSchedule copyWith(
    {int? samplingScheduleType, int? registerMapId, int? intervalSeconds}) {
  return SamplingSchedule(
      samplingScheduleType: samplingScheduleType ?? this.samplingScheduleType,
      registerMapId: registerMapId ?? this.registerMapId,
      intervalSeconds: intervalSeconds ?? this.intervalSeconds);
}