getUser method

  1. @override
DOOUser? getUser()
override

Implementation

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

  return _box.get(userIdentifier);
}