Dart might choose to marshall the timestamps to a Java Long or Integer. Casting directly to int was crashing when the timestamp wass a Long.
Dart might choose to marshall the timestamps to a Java Long or Integer. Casting directly to int was crashing when the timestamp wass a Long.