PeerEvents<ErrorType extends String> constructor
PeerEvents<ErrorType extends String> ({
- void open(
- String id
- void connection(
- DataConnection dataConnection
- void call(
- MediaConnection mediaConnection
- void close()?,
- void disconnected(
- String currentId
- void error()?,
Implementation
PeerEvents({
this.open,
this.connection,
this.call,
this.close,
this.disconnected,
this.error,
}) : super(error: error);