GlobalState constructor

GlobalState({
  1. Map<int, Context> clients = const {},
  2. Map<int, List<ActionFunctionRegister>> functions = const {},
  3. Map<String, UIStreamState> uIStreams = const {},
  4. Map<String, AudioStreamState> audioStreams = const {},
  5. Map<String, VideoStreamState> videoStreams = const {},
  6. String spaceId = '',
  7. String ikonServerId = '',
  8. String appSessionId = '',
  9. String sessionIdentityHash = '',
  10. String spaceUrl = '',
  11. String sessionUrl = '',
  12. String firstUserId = '',
  13. String primaryUserId = '',
  14. String organisationName = '',
  15. String spaceName = '',
  16. ServerRunType serverRunType = ServerRunType.local,
  17. bool publicAccess = false,
  18. bool debugMode = false,
})

Implementation

GlobalState({
    this.clients = const {},
    this.functions = const {},
    this.uIStreams = const {},
    this.audioStreams = const {},
    this.videoStreams = const {},
    this.spaceId = '',
    this.ikonServerId = '',
    this.appSessionId = '',
    this.sessionIdentityHash = '',
    this.spaceUrl = '',
    this.sessionUrl = '',
    this.firstUserId = '',
    this.primaryUserId = '',
    this.organisationName = '',
    this.spaceName = '',
    this.serverRunType = ServerRunType.local,
    this.publicAccess = false,
    this.debugMode = false,
});