toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
    'ClientContext': clientContext,
    'ServerContext': serverContext,
    'CertHash': certHash,
    'Entrypoints': entrypoints.map((e) => e).toList(),
    'FeatureFlags': featureFlags,
    'SpaceId': spaceId,
    'ChannelId': channelId,
    'ChannelInstanceId': channelInstanceId,
    'PrimaryUserId': primaryUserId,
    'ServerSessionId': serverSessionId,
    'KeepaliveTimeoutMs': keepaliveTimeoutMs,
    'ServerCapability': serverCapability,
};