Epoch.fromDateTime constructor
Epoch.fromDateTime(
- DateTime dateTime
Implementation
factory Epoch.fromDateTime(DateTime dateTime)
{
return new Epoch(dateTime.millisecondsSinceEpoch);
}
factory Epoch.fromDateTime(DateTime dateTime)
{
return new Epoch(dateTime.millisecondsSinceEpoch);
}