getDeviceName function

Future<String> getDeviceName()

Implementation

Future<String> getDeviceName() async {
  final deviceNames = DeviceMarketingNames();
  final singleDeviceName = await deviceNames.getSingleName();

  return singleDeviceName;
}