ObjectId.fromSeconds constructor
ObjectId.fromSeconds(
- int seconds
Generates an ObjectId instance with the seconds required
Implementation
ObjectId.fromSeconds(int seconds /* , [bool clientMode = false] */)
: _id = createId(seconds /* , clientMode */);