
In this guide, we will discuss Number hashcode property. The property returns an integer representing the hash code for a numerical value.
Syntax
num.hashcode
Example
void main() { int n = 5000; print(n.hashCode); }
It will produce the following output −
The following output is displayed on successful execution of the code.
5000
Next Topic : Click Here
Pingback: Dart Programming - Numbers | Adglob Infosystem Pvt Ltd