hashCode property

  1. @override
int hashCode
override

Overriding the hash code getter to generate a hash code based on the image source URL. This is used to check if a photo is already present in the list.

Implementation

@override
int get hashCode => imgSrc.hashCode;