@override Future<void> setDarkMode(bool useDarkMode) async { await methodChannel.invokeMethod( methods.setDarkMode, {"useDarkMode": useDarkMode}, ); }