HMSPeer constructor Null safety

HMSPeer(
  1. {required String peerId,
  2. required String name,
  3. required bool isLocal,
  4. HMSRole? role,
  5. String? customerUserId,
  6. String? customerDescription,
  7. HMSAudioTrack? audioTrack,
  8. HMSVideoTrack? videoTrack,
  9. List<HMSTrack>? auxiliaryTracks}
)

Implementation

HMSPeer({
  required this.peerId,
  required this.name,
  required this.isLocal,
  this.role,
  this.customerUserId,
  this.customerDescription,
  this.audioTrack,
  this.videoTrack,
  this.auxiliaryTracks,
});