getSessionState method
Reads the live native session state (running / resolution / fps / pixel format) as a typed SessionState.
Implementation
SessionState getSessionState() {
_requireInitialized();
return SessionState.fromJson(
NitroCamera.instance.getSessionStateJson(_textureId!),
);
}