hashCode property

  1. @override
int get hashCode
override

Uniqueness based on primary key

只取主键作为唯一性的依据

Implementation

@override
int get hashCode => id.hashCode;