remove method
Remove a session key:value by key
Example:
server.get('/api/set/:item', (ctx) async {
final Session session = await ctx.session;
session.remove('item');
// ...
});
Implementation
String? remove(String key) {
needsUpdate = true;
return _data.remove(key);
}