unSpotLightVideo method

  1. @override
Future<String> unSpotLightVideo(
  1. String userId
)

Unspotlight the video of the specified user.
userId The user ID of the user
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String> unSpotLightVideo(String userId) async {
  var params = <String, dynamic>{};
  params.putIfAbsent("userId", () => userId);
  return await methodChannel
      .invokeMethod<String>('unSpotLightVideo', params)
      .then<String>((String? value) => value ?? "");
}