end method
Ends a session. Once ended frames will stop streaming and it can no longer be used.
Throws a PlatformException if the session cannot be ended (e.g. no network).
Implementation
Future<void> end() async {
Map endedSession = await CobrowseIO.instance._endSession(this);
_fill(endedSession);
}