```\nfunction decrement(Counter storage counter) internal {\n    uint256 value = counter._value;\n    require(value > 0, "Counter: decrement overflow");\n    unchecked {\n        counter._value = value - 1;\n    }\n}\n```\n