isScreenShareActive method
A method to check if the screen share is currently active on the device i.e. is this Android device doing screen share Note: This API is not available on iOS.
Refer screen share guide here
Implementation
Future<bool> isScreenShareActive() async {
return await PlatformService.invokeMethod(
PlatformMethod.isScreenShareActive,
);
}