currentMillisecondsSinceEpoch top-level property
int
get
currentMillisecondsSinceEpoch
Returns the current time in milliseconds since the Unix epoch.
Implementation
int get currentMillisecondsSinceEpoch => DateTime.now().millisecondsSinceEpoch;