operator == method

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

Implements the operator ==.

  • this: The first value to compare
  • other: The second value to compare

Returns: True if the two operands are equal according to Equals(ZonedDateTime); false otherwise

Implementation

@override bool operator ==(Object other) => other is ZonedDateTime && equals(other);