$oid property

String $oid

Returns the hexadecimall string representation of this ObjectId

Implementation

String get $oid => _id.hexString;