setClientId method

Future<void> setClientId(
  1. String clientId
)

Sets the client ID for the current session and saves it.

Implementation

Future<void> setClientId(String clientId) async {
  final session = await getOrCreateSession();
  session.clientId = clientId;
  await saveSession(session, merge: true);
}