destroy method

  1. @override
void destroy()
override

Destroys the session.

This terminates the session and any further connections with this id will be given a new id and session.

Implementation

@override
void destroy() {
  print('destroy() was called on a MockHttpSession, which does nothing.');
}