activate method
Transitions a session from pending or authorizing to active, allowing frames to start streaming. In order to activate a session, some conditions must be met:
- it must be in pending or authorizing state
- an agent must have joined
Throws a PlatformException if the session cannot be activated (e.g. no network).
Implementation
Future<void> activate() async {
Map activatedSession = await CobrowseIO.instance._activateSession(this);
_fill(activatedSession);
}