setVisible method

Future<void> setVisible(
  1. UAdminPlaceRow row, {
  2. required bool visible,
})

Show / hide: "active" and "inactive" are switched together, so a place never has both.

Implementation

Future<void> setVisible(UAdminPlaceRow row, {required bool visible}) => _update(
  row,
  add: <int>[if (visible) row.activeTag else row.inactiveTag],
  remove: <int>[if (visible) row.inactiveTag else row.activeTag],
);