createRemoteSessionConfig function
Create a RemoteSessionConfig from OAuth tokens.
Implementation
RemoteSessionConfig createRemoteSessionConfig(
String sessionId,
String Function() getAccessToken,
String orgUuid, {
bool hasInitialPrompt = false,
bool viewerOnly = false,
}) {
return RemoteSessionConfig(
sessionId: sessionId,
getAccessToken: getAccessToken,
orgUuid: orgUuid,
hasInitialPrompt: hasInitialPrompt,
viewerOnly: viewerOnly,
);
}