registerVisitor static method

Future registerVisitor(
  1. String registerID
)

Registers a visitor using the unique ID provided for registerID. Once registered, conversations may be restored and synced across multiple devices that are registered with the same registerID. Use the API during a login operation to set the user's session.

Implementation

static Future<dynamic> registerVisitor(String registerID) async {
  return await _channel.invokeMethod('registerVisitor', registerID);
}