operator == method

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

Returns true if other represents the same time of day.

Implementation

@override
bool operator ==(Object other) => other is Time && compareTo(other) == 0;