Timestamp constructor

Timestamp([
  1. int? _seconds,
  2. int? _increment
])

Implementation

Timestamp([int? _seconds, int? _increment])
    : seconds = _seconds ??=
          (DateTime.now().millisecondsSinceEpoch ~/ 1000).toInt(),
      increment = _increment ?? Statics.nextIncrement;