copyWith method

GroupSetRequestArgs copyWith({
  1. String? name,
  2. bool? honorSessionLimits,
  3. bool? speedLimitDownEnabled,
  4. num? speedLimitDown,
  5. bool? speedLimitUpEnabled,
  6. num? speedLimitUp,
})

Implementation

GroupSetRequestArgs copyWith({
  String? name,
  bool? honorSessionLimits,
  bool? speedLimitDownEnabled,
  num? speedLimitDown,
  bool? speedLimitUpEnabled,
  num? speedLimitUp,
}) {
  return GroupSetRequestArgs(
    name: name ?? this.name,
    honorSessionLimits: honorSessionLimits ?? this.honorSessionLimits,
    speedLimitDownEnabled:
        speedLimitDownEnabled ?? this.speedLimitDownEnabled,
    speedLimitDown: speedLimitDown ?? this.speedLimitDown,
    speedLimitUpEnabled: speedLimitUpEnabled ?? this.speedLimitUpEnabled,
    speedLimitUp: speedLimitUp ?? this.speedLimitUp,
  );
}