displayMobileCalculations function

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

Implementation

Future<Map<String, dynamic>> displayMobileCalculations()async{
  final messageRecords = await getRecords("calculated_messages");
  List actualData = messageRecords.items;
  String encryptedData = "";
  actualData.forEach((e){
    encryptedData = json.decode(actualData[0].toString())['data'];
  });
  final decryptedData = await dencryptData(encryptedData);
  print(decryptedData);
  return decryptedData;
}