setIdentity static method

Future<void> setIdentity(
  1. String jwtToken
)

Set the identity of the user using the provided jwtToken this will cleanup previous setVisitorInfo

Implementation

static Future<void> setIdentity(String jwtToken) async {
  await _channel.invokeMethod<void>('setIdentity', {
    'token': jwtToken,
  });
}