toggleDeviceType method

void toggleDeviceType()

Implementation

void toggleDeviceType() =>
    deviceType.value =
    deviceIsComputer ? DeviceType.Phone : DeviceType.Computer;