setLastActiveUserDeviceKey method
Implementation
@override
Future<void> setLastActiveUserDeviceKey(
int lastActive, String userId, String deviceId) async {
final raw =
await _userDeviceKeysBox.get(TupleKey(userId, deviceId).toString());
raw!['last_active'] = lastActive;
await _userDeviceKeysBox.put(
TupleKey(userId, deviceId).toString(),
raw,
);
}