getCurrentMillseconds method
获取当前时间的微秒
print('current time in millseconds: ${getCurrentMillseconds()}');
Implementation
int getCurrentMillseconds() {
return DateTime.now().millisecondsSinceEpoch;
}
获取当前时间的微秒
print('current time in millseconds: ${getCurrentMillseconds()}');
int getCurrentMillseconds() {
return DateTime.now().millisecondsSinceEpoch;
}