@override Future<bool> toggle() async { final result = await methodChannel.invokeMethod<bool>('toggleFlashlight'); return result ?? false; }