device property

DeviceType get device

Returns the current device type.

Implementation

static DeviceType get device => Media.deviceType;