boards method

BoardsSpawnRequest boards(
  1. VectorDefinition cell,
  2. List<ItemLocation> assets
)

Implementation

BoardsSpawnRequest boards(VectorDefinition cell, List<ItemLocation> assets) =>
    copyWith(
      assets: {
        ...this.assets,
        cell: [...this.assets[cell] ?? [], ...assets],
      },
    );