getUser method

  1. @override
ChatwootUser? getUser()
override

Implementation

@override
ChatwootUser? getUser() {
  if (_box.values.length == 0) {
    return null;
  }
  final userIdentifier =
      _clientInstanceIdToUserIdentifierBox.get(_clientInstanceKey);

  return _box.get(userIdentifier);
}