RealtimeClientSecretCreateResponse class

Response from creating a client secret.

Annotations
  • @immutable

Constructors

RealtimeClientSecretCreateResponse({required String value, required int expiresAt, required RealtimeSessionCreateResponse session})
Creates a RealtimeClientSecretCreateResponse.
const
RealtimeClientSecretCreateResponse.fromJson(Map<String, dynamic> json)
Creates a RealtimeClientSecretCreateResponse from JSON.
factory

Properties

expiresAt int
Unix timestamp when the secret expires.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session RealtimeSessionCreateResponse
The created session.
final
value String
The client secret value (starts with "ek_").
final

Methods

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

Operators

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