OpenTokValue constructor
const
OpenTokValue({
- ConnectionState state = open_tok.ConnectionState.loggedOut,
- bool audioEnabled = true,
- bool videoEnabled = true,
- String? errorDescription,
Constructs a OpenTokValue with the given values.
open_tok.ConnectionState is open_tok.ConnectionState.loggedOut by default.
audioEnabled
& videoEnabled
are default to true.
Implementation
const OpenTokValue({
this.state = open_tok.ConnectionState.loggedOut,
this.audioEnabled = true,
this.videoEnabled = true,
this.errorDescription,
});