TokenSourceRequest class

The JSON serializable format of the request sent to standard LiveKit token servers.

This is an internal wire format class that separates the public API (TokenRequestOptions) from the JSON structure sent over the network.

Annotations

Constructors

TokenSourceRequest({String? roomName, String? participantName, String? participantIdentity, String? participantMetadata, Map<String, String>? participantAttributes, RoomConfiguration? roomConfiguration})
const
TokenSourceRequest.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
participantAttributes → Map<String, String>?
final
participantIdentity → String?
final
participantMetadata → String?
final
participantName → String?
final
roomConfiguration → RoomConfiguration?
final
roomName → String?
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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