object method

ObjectsSpawned object(
  1. int x,
  2. int y,
  3. ItemLocation asset, {
  4. String? variation,
  5. bool hidden = false,
})

Implementation

ObjectsSpawned object(int x, int y, ItemLocation asset,
        {String? variation, bool hidden = false}) =>
    objectWithLocation(VectorDefinition(x, y), asset,
        variation: variation, hidden: hidden);