ambil peta preferensi yang dibagikan

String encodedMap = prefs.getString('timeData');
Map<String,dynamic> decodedMap = json.decode(encodedMap);
print(decodedMap);
Carlos García Moncada