toInt64 static method
Converts a Dart native int value
to an Int64
. Note: this will not
work properly on Web if there are more than 53 significant bits as native
int values on Web only contain 53 significant bits vs the native 64 bits.
Implementation
static Int64 toInt64(int value) => Int64.parseInt(value.toString());