Get device details

Hello. Can you help please ! How correctly get device details ? I have cordova-plugin-device in folder plugin, but my ide dose not recognize device.modeld. What should I do ?

The correct usage, as per Ionic Native docs is as follows:

import { Device } from 'ionic-native';
console.log('Device Model is: ' + Device.device.model);

Aside from the typo in your question (modeld vs model), note the import statement.