mapTable method

WorldState mapTable(
  1. String name,
  2. GameTable mapper(
    1. GameTable?
    )
)

Implementation

WorldState mapTable(String name, GameTable Function(GameTable?) mapper) =>
    updateTable(name, mapper(getTable(name)));