PeerConnectOption class

Annotations
  • @JsonSerializable()

Constructors

PeerConnectOption.new({String? label, dynamic metadata, String? serialization, bool? reliable, String? connectionId, dynamic payload, dynamic sdpTransform(String sdp)?, Map<String, String>? sdp, Map<String, dynamic>? constraints, String? type, dynamic msg, Map? candidate})
PeerConnectOption.fromJson(Map<String, dynamic> json)
factory

Properties

candidate Map?
getter/setter pair
connectionId String?
getter/setter pair
constraints Map<String, dynamic>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String?
A unique label by which you want to identify this data connection. If left unspecified, a label will be generated at random.
getter/setter pair
metadata ↔ dynamic
Metadata associated with the connection, passed in by whoever initiated the connection.
getter/setter pair
msg ↔ dynamic
getter/setter pair
payload ↔ dynamic
getter/setter pair
reliable bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdp Map<String, String>
getter/setter pair
sdpTransform ↔ dynamic Function(String sdp)?
getter/setter pair
serialization String?
getter/setter pair
type String?
getter/setter pair

Methods

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

Operators

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