Determines hash by serializing this value.
@override int get hashCode => const SelfEncoderEquality().hash(this);