hashCode property

  1. @override
int get hashCode
override

Provides a consistent hash code for this literal term based on its components.

The hash code is calculated from the combined hash of the value, datatype, and language (if present), ensuring that two equal literal terms will have the same hash code, which is required for proper behavior when used in hash-based collections like sets and maps.

Implementation

@override
int get hashCode => Object.hash(value, datatype, language);