@override Future<void> startCamera() async { try { await methodChannel.invokeMethod('startCamera'); } on PlatformException catch (e) { throw Exception("Failed to start camera: '${e.message}'"); } }