decodePreference method
dynamic
decodePreference()
Implementation
decodePreference() async {
final path = await getApplicationDocumentsDirectory();
final file = File('$path/config.crot');
final string = await file.readAsString();
final base64Decodes = base64Decode(string);
final json = jsonDecode(utf8.decode(base64Decodes));
return json;
}