part of 'service.dart'; class ServiceConfig { static Future isProcessExifWifiOnly() async { return Preference.getBool(_pref, _prefProcessWifiOnly, true).notNull(); } static Future setProcessExifWifiOnly(bool flag) async { await Preference.setBool(_pref, _prefProcessWifiOnly, flag); } static Future isEnableClientExif() async { return Preference.getBool(_pref, _prefIsEnableClientExif, false).notNull(); } static Future setEnableClientExif(bool flag) async { await Preference.setBool(_pref, _prefIsEnableClientExif, flag); } static const _pref = "service"; static const _prefProcessWifiOnly = "shouldProcessWifiOnly"; static const _prefIsEnableClientExif = "isEnableClientExif"; }