isPublishing method
Implementation
Future<bool> isPublishing() async {
try {
final bool result = await _channel.invokeMethod('isPublishing');
print("isPublishing: $result");
return result;
} on PlatformException catch (e) {
print("Error switchCamera: $e.message");
}
return false;
}