operator == method

  1. @override
bool operator ==(
  1. Object right
)
override

Implements the operator == (equality).

  • left: The left hand side of the operator.
  • right: The right hand side of the operator.

Returns: true if values are equal to each other, otherwise false.

Implementation

@override
bool operator ==(Object right) => right is OffsetDate && equals(right);