copyWith method

Division copyWith({
  1. int? colXS,
  2. int? colS,
  3. int? colM,
  4. int? colL,
  5. int? colXL,
  6. int? offsetXS,
  7. int? offsetS,
  8. int? offsetM,
  9. int? offsetL,
  10. int? offsetXL,
})

Implementation

Division copyWith({
  int? colXS,
  int? colS,
  int? colM,
  int? colL,
  int? colXL,
  int? offsetXS,
  int? offsetS,
  int? offsetM,
  int? offsetL,
  int? offsetXL,
}) {
  return Division(
    colXS: colXS ?? this.colXS,
    colS: colS ?? this.colS,
    colM: colM ?? this.colM,
    colL: colL ?? this.colL,
    colXL: colXL ?? this.colXL,
    offsetXS: offsetXS ?? this.offsetXS,
    offsetS: offsetS ?? this.offsetS,
    offsetM: offsetM ?? this.offsetM,
    offsetL: offsetL ?? this.offsetL,
    offsetXL: offsetXL ?? this.offsetXL,
  );
}