setUserWithIdToken static method

void setUserWithIdToken(
  1. String token
)

Sync any change to user information, specified in JWT Token with Freshchat

Implementation

static void setUserWithIdToken(String token) async {
  await _channel.invokeMethod(
    'setUserWithIdToken',
    <String, dynamic>{
      'token': token,
    },
  );
}