BsonTimestamp constructor

BsonTimestamp([
  1. Timestamp? parmTimestamp
])

Implementation

BsonTimestamp([Timestamp? parmTimestamp])
    : timestamp = parmTimestamp ??
          Timestamp((DateTime.now().millisecondsSinceEpoch ~/ 1000).toInt(),
              Statics.nextIncrement);