operator * method
❌ "Multiply" this IconToo Randomly
IconToo operator *(dynamic operation)
Returns this
IconToo if operation
does not match a case described below.
❌ operator *(dynamic
operation
)
Implementation
IconToo operator *(dynamic operation) => (operation is Color)
? copyWith(color: operation)
: (operation is num)
? copyWith(
sizeX: (sizeX ?? 0.0) * operation,
sizeY: (sizeY ?? 0.0) * operation)
: (operation is List<num>)
? (operation.length == 2)
? copyWith(
sizeX: (sizeX ?? 0.0) * operation[0],
sizeY: (sizeY ?? 0.0) * operation[1],
)
: this
: this;