deviceIdSeen method

  1. @override
Future<String?> deviceIdSeen(
  1. dynamic userId,
  2. dynamic deviceId
)
override

Implementation

@override
Future<String?> deviceIdSeen(userId, deviceId) async {
  final raw =
      await _seenDeviceIdsBox.get(MultiKey(userId, deviceId).toString());
  if (raw == null) return null;
  return raw as String;
}