getDeviceName method
Implementation
@override
Future<String> getDeviceName() {
DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin();
Future<String> deviceName = Platform.isAndroid
? _getAndroidDeviceName(deviceInfoPlugin)
: _getIosDeviceName(deviceInfoPlugin);
return deviceName;
}