operator == method

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

Returns true if this Time instance represents the same moment as other.

Implementation

@override
bool operator ==(Object other) =>
    identical(this, other) ||
    other is Time &&
        runtimeType == other.runtimeType &&
        _dateTime == other._dateTime;