operator == method

  1. @override
bool operator ==(
  1. dynamic other
)
override

Returns whether this value's number and unit are equal to that of other.

Implementation

@override
bool operator ==(dynamic other) {
  return identical(this, other) || (other is CssValue && number == other.number && unit == other.unit);
}