ObjectId.fromSeconds constructor

ObjectId.fromSeconds(
  1. int seconds, [
  2. bool clientMode = false
])

Implementation

ObjectId.fromSeconds(int seconds, [bool clientMode = false])
    : _id = createId(seconds, clientMode);