put object.
static Future<bool> putObject(String key, Object value) { return _prefs.setString(key, value == false ? "" : json.encode(value)); }