hashCode property

  1. @override
int hashCode
override

Hash code from Obejct.hashCode, but not design for using ==.

Instead, is specific for YearMonthRange

Implementation

@override
int get hashCode => hash2(year, month);