operator == method
Returns true if other is a OffsetTime at the same moment and in the same timezone.
final foo = OffsetTime(Offset(4), 12); // 12:00+04:00
final bar = OffsetTime(Offset(0), 8); // 08:00Z
bar == foo; // false
bar.isSameMomentAs(foo); // true
Implementation
@override
@useResult bool operator ==(Object other) => identical(this, other) || other is OffsetTime && runtimeType == other.runtimeType &&
offset == other.offset && _native.microsecondsSinceMidnight == other._native.microsecondsSinceMidnight;