getDeviceInfo method

dynamic getDeviceInfo()

Implementation

getDeviceInfo() async {
  final BaseDeviceInfo info = await deviceInfoPlugin.deviceInfo;
  final Map infoMap = info.toMap();
  infoMap.forEach((key, value) {
    detailsMap[key] = value;
  });
}