updateRemoteView method Null safety

Future<void> updateRemoteView(
  1. dynamic viewId,
  2. dynamic streamType,
  3. dynamic userId
)

Update the window of remote video image (only for iOS)

Parameters:

viewId Control that carries the video image

userId userId of the specified remote user

streamType Video stream type of the userId specified for watching:

Implementation

Future<void> updateRemoteView(viewId, streamType, userId) {
  return TRTCCloudVideoViewController(viewId)
      .updateRemoteView(viewId, streamType, userId);
}