copyWith method

Assumptions copyWith({
  1. bool? commutative,
  2. bool? complex,
  3. bool? imaginary,
  4. bool? real,
  5. bool? extendedReal,
  6. bool? integer,
  7. bool? nonInteger,
  8. bool? odd,
  9. bool? even,
  10. bool? prime,
  11. bool? composite,
  12. bool? zero,
  13. bool? nonzero,
  14. bool? rational,
  15. bool? algebraic,
  16. bool? transcendental,
  17. bool? irrational,
  18. bool? finite,
  19. bool? infinite,
  20. bool? negative,
  21. bool? nonNegative,
  22. bool? positive,
  23. bool? nonPositive,
  24. bool? extendedNegative,
  25. bool? extendedNonNegative,
  26. bool? extendedPositive,
  27. bool? extendedNonPositive,
  28. bool? extendedNonzero,
  29. bool? hermitian,
  30. bool? antiHermitian,
})

Implementation

Assumptions copyWith({
  bool? commutative,
  bool? complex,
  bool? imaginary,
  bool? real,
  bool? extendedReal,
  bool? integer,
  bool? nonInteger,
  bool? odd,
  bool? even,
  bool? prime,
  bool? composite,
  bool? zero,
  bool? nonzero,
  bool? rational,
  bool? algebraic,
  bool? transcendental,
  bool? irrational,
  bool? finite,
  bool? infinite,
  bool? negative,
  bool? nonNegative,
  bool? positive,
  bool? nonPositive,
  bool? extendedNegative,
  bool? extendedNonNegative,
  bool? extendedPositive,
  bool? extendedNonPositive,
  bool? extendedNonzero,
  bool? hermitian,
  bool? antiHermitian,
}) {
  return Assumptions._full(
    commutative: commutative ?? this.commutative,
    complex: complex ?? this.complex,
    imaginary: imaginary ?? this.imaginary,
    real: real ?? this.real,
    extendedReal: extendedReal ?? this.extendedReal,
    integer: integer ?? this.integer,
    nonInteger: nonInteger ?? this.nonInteger,
    odd: odd ?? this.odd,
    even: even ?? this.even,
    prime: prime ?? this.prime,
    composite: composite ?? this.composite,
    zero: zero ?? this.zero,
    nonzero: nonzero ?? this.nonzero,
    rational: rational ?? this.rational,
    algebraic: algebraic ?? this.algebraic,
    transcendental: transcendental ?? this.transcendental,
    irrational: irrational ?? this.irrational,
    finite: finite ?? this.finite,
    infinite: infinite ?? this.infinite,
    negative: negative ?? this.negative,
    nonNegative: nonNegative ?? this.nonNegative,
    positive: positive ?? this.positive,
    nonPositive: nonPositive ?? this.nonPositive,
    extendedNegative: extendedNegative ?? this.extendedNegative,
    extendedNonNegative: extendedNonNegative ?? this.extendedNonNegative,
    extendedPositive: extendedPositive ?? this.extendedPositive,
    extendedNonPositive: extendedNonPositive ?? this.extendedNonPositive,
    extendedNonzero: extendedNonzero ?? this.extendedNonzero,
    hermitian: hermitian ?? this.hermitian,
    antiHermitian: antiHermitian ?? this.antiHermitian,
  );
}