getCursorData method

void getCursorData(
  1. MongoReplyMessage replyMessage
)

Implementation

void getCursorData(MongoReplyMessage replyMessage) {
  if (replyMessage.documents == null) {
    throw MongoDartError(
        'It seem that the message has not yet been deserialized.');
  }
  cursorId = replyMessage.cursorId;
  items.addAll(replyMessage.documents!);
}