@override Future<void> write(String key, String value) async { final box=await getBox(); return box.put(key, value); }