queryDeviceInfo method

Future<DeviceModel> queryDeviceInfo()

Used to return Device Info

Will return:

  • Device SDK.
  • Device Release.
  • Device Code.
  • Device Type.

Platforms:

Android IOS Web
✔️ ✔️ ✔️

See more about platforms support

Implementation

Future<DeviceModel> queryDeviceInfo() async {
  return platform.queryDeviceInfo();
}