ObjectId.parse constructor
ObjectId.parse(
- String hexString
Generates an ObjectId instance from an hex string If the string is not valid throws an ArgumentError
Implementation
factory ObjectId.parse(String hexString) => ObjectId.fromHexString(hexString);