PeerEvents<ErrorType extends String> class

Inheritance

Constructors

PeerEvents.new({void open(String id)?, void connection(DataConnection dataConnection)?, void call(MediaConnection mediaConnection)?, void close()?, void disconnected(String currentId)?, void error(PeerError<String> error)?})

Properties

call → void Function(MediaConnection mediaConnection)?
final
close → void Function()?
final
connection → void Function(DataConnection dataConnection)?
final
disconnected → void Function(String currentId)?
final
error → void Function(PeerError<String> error)?
final
hashCode int
The hash code for this object.
no setterinherited
open → void Function(String id)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited