Document constructor

Document({
  1. required CloudBaseCore core,
  2. required String coll,
  3. required dynamic docId,
  4. Map<String, dynamic>? projection,
})

Implementation

Document({
  required CloudBaseCore core,
  required String coll,
  required dynamic docId,
  Map<String, dynamic>? projection,
}) {
  _core = core;
  _coll = coll;
  _id = docId;
  _projection = projection;
  _request = CloudBaseRequest(_core);
}