operator == method

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

equals operator

non-null

Implementation

@override
bool operator ==(Object other) {
  return identical(this, other) ||
      other is Jalali &&
          runtimeType == other.runtimeType &&
          year == other.year &&
          month == other.month &&
          day == other.day;
}