epoch method

int epoch()

Implementation

int epoch() => (_epoch != null) ? DateTime.now().millisecondsSinceEpoch : 0;