hashCode property

  1. @override
int get hashCode
override

Returns a hash code for this AlarmSettings instance using Jenkins hash function.

Implementation

@override
int get hashCode {
  var hash = 0;

  hash = hash ^ id.hashCode;
  hash = hash ^ dateTime.hashCode;
  hash = hash ^ assetAudioPath.hashCode;
  hash = hash ^ notificationSettings.hashCode;
  hash = hash ^ loopAudio.hashCode;
  hash = hash ^ vibrate.hashCode;
  hash = hash ^ volume.hashCode;
  hash = hash ^ fadeDuration.hashCode;
  hash = hash ^ warningNotificationOnKill.hashCode;
  hash = hash ^ androidFullScreenIntent.hashCode;
  hash = hash & 0x3fffffff;

  return hash;
}