equals method
Returns true if the screen is the same as the given device type.
Implementation
bool equals(DeviceType type) => deviceType == type;
Returns true if the screen is the same as the given device type.
bool equals(DeviceType type) => deviceType == type;