Initiator class

Represents an Initiator in the communication process.

Constructors

Initiator.new({String? type, String? serviceEndpoint, required String socketId})
Constructs an Initiator object.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceEndpoint String?
getter/setter pair
socketId String
getter/setter pair
type String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCompactJson() Map<String, dynamic>
Converts the Initiator object to a compact JSON map.
toJson() Map<String, dynamic>
Converts the Initiator object to a JSON map.
toMinimalCompactJson() Map<String, dynamic>
Converts the Initiator object to a minimal compact JSON map.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromCompactJson(Map<String, dynamic> json) Initiator
Creates an Initiator object from a compact JSON map.
fromJson(Map<String, dynamic> json) Initiator
Creates an Initiator object from a JSON map.
fromMinimalCompactJson(Map<String, dynamic> json) Initiator
Creates an Initiator object from a minimal compact JSON map.