tryAsInt abstract method
This value as a int value or null if cannot be converted to int.
On web enviroment (compiled with dart2js) int can store "all integers
between -2^53 and 2^53, and some integers with larger magnitude".
Implementation
int? tryAsInt();