update method
Implementation
Future<Result> update() async {
var result = await CanaryDio.instance()
.get('/conf/full?appkey=${FlutterCanary.instance.appSecret}');
if (result.success) {
_transform(result.data);
var prefs = await SharedPreferences.getInstance();
prefs.setString('config_json_data', jsonEncode(result.data));
await _matchPicked();
}
return result;
}