ZoomVideoSdkUser.fromJson constructor

ZoomVideoSdkUser.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ZoomVideoSdkUser.fromJson(Map<String, dynamic> json)
    : userId = json['userId'],
      customUserId = json['customUserId'],
      userName = json['userName'],
      isHost = json['isHost'],
      isManager = json['isManager'],
      isSharing = false,
      hasMultiCamera = json['hasMultiCamera'],
      multiCameraIndex = json['multiCameraIndex'],
      audioStatus = ZoomVideoSdkAudioStatus(json['userId']),
      videoStatus = ZoomVideoSdkVideoStatus(json['userId']),
      videoStatisticInfo = ZoomVideoSdkVideoStatisticInfo(json['userId']),
      shareStatisticInfo = ZoomVideoSdkShareStatisticInfo(json['userId']);