operator == method

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

equals operator

Implementation

@override
bool operator ==(Object other) {
  return other is Date && compareTo(other) == 0;
}