operator == method
Implementation
@override
bool operator ==(Object other) {
if (other is Date) {
return dateTime == other.dateTime;
} else {
return this == other;
}
}
@override
bool operator ==(Object other) {
if (other is Date) {
return dateTime == other.dateTime;
} else {
return this == other;
}
}