getDeviceInfo method

Future<Map<String, dynamic>> getDeviceInfo()

Implementation

Future<Map<String, dynamic>> getDeviceInfo() async {
  final id = await sl<StorageService>().createOrGetDeviceId();
  final result = (await deviceInfo.getDeviceInfo()).toJson(id: id);
  return result;
}