get stored data from local database key - the key used to store the data data - string version of the data to be stored
key
data
Future<dynamic> saveData(String key, String data);