saveData method
get stored data from local database
key - the key used to store the data
data - string version of the data to be stored
Implementation
@override
Future<dynamic> saveData(String key, String data) async =>
cacheBox.addAll({key: data});