hashCode property
The hash code for this object.
A hash code is a single integer which represents the state of the object that affects operator == comparisons.
All objects have hash codes. The default hash code implemented by Object represents only the identity of the object, the same way as the default operator == implementation only considers objects equal if they are identical (see identityHashCode).
If operator == is overridden to use the object state instead, the hash code must also be changed to represent that state, otherwise the object cannot be used in hash based data structures like the default Set and Map implementations.
Hash codes must be the same for objects that are equal to each other according to operator ==. The hash code of an object should only change if the object changes in a way that affects equality. There are no further requirements for the hash codes. They need not be consistent between executions of the same program and there are no distribution guarantees.
Objects that are not equal are allowed to have the same hash code. It is even technically allowed that all instances have the same hash code, but if clashes happen too often, it may reduce the efficiency of hash-based data structures like HashSet or HashMap.
If a subclass overrides hashCode, it should override the operator == operator as well to maintain consistency.
Implementation
@override
int get hashCode =>
includeTrackOptions.hashCode ^
includePremiumAdUrl.hashCode ^
isMicReady.hashCode ^
includeFlexParams.hashCode ^
includeAudioReceiptUrl.hashCode ^
includeAdVersion.hashCode ^
includeCompetitiveSepIndicator.hashCode ^
previousTrackList.hashCode ^
includeListeningHours.hashCode ^
flexCapable.hashCode ^
includeMRAIDIsViewableSupport.hashCode ^
includeListenerUpsellCheck.hashCode ^
includeTrackLength.hashCode ^
stationId.hashCode ^
includeBingeSkippingInfo.hashCode ^
includeSharingAdUrl.hashCode ^
includeSocialAdUrl.hashCode ^
stationToken.hashCode ^
includeFlexReplayAdUrl.hashCode ^
xplatformAdCapable.hashCode ^
testCreativeIdString.hashCode ^
supportedTrackTypes.hashCode ^
includeFlexThumbsDownAdUrl.hashCode ^
includeAudioToken.hashCode ^
getPlaylistReason.hashCode ^
audioAdPodCapable.hashCode ^
includeBackstageAdUrl.hashCode ^
includeVoiceTrack.hashCode ^
includeAudioSkipUrl.hashCode ^
includeFlexSkipAdUrl.hashCode ^
stationIsStarting.hashCode ^
testLineIdString.hashCode ^
requestHighQuality.hashCode ^
includeChronosAdTokens.hashCode ^
currentTrack.hashCode ^
includeExtraParams.hashCode ^
includeArtistMessages.hashCode ^
includeCompletePlaylist.hashCode ^
includeBannerAd.hashCode ^
testMode.hashCode;