copyWith method
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,
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,
);
}