collectObject method

void collectObject(
  1. BotObject object
)

Collect an object into the collector.

  • {object} is the object instance to be collected.

You can collect as many objects as you want.

Implementation

void collectObject(BotObject object) {
  _objects["${object.bot}/${object.objectType}/${object.objectName}"] =
      object;
}