HMSLocalPeer constructor Null safety
- {required String peerId,
- required String name,
- required bool isLocal,
- HMSRole? role,
- String? customerUserId,
- String? customerDescription,
- HMSAudioTrack? audioTrack,
- HMSVideoTrack? videoTrack,
- List<
HMSTrack> ? auxiliaryTracks}
Implementation
HMSLocalPeer({
required String peerId,
required String name,
required bool isLocal,
HMSRole? role,
String? customerUserId,
String? customerDescription,
HMSAudioTrack? audioTrack,
HMSVideoTrack? videoTrack,
List<HMSTrack>? auxiliaryTracks,
}) : super(
isLocal: isLocal,
name: name,
peerId: peerId,
customerUserId: customerUserId,
customerDescription: customerDescription,
role: role,
audioTrack: audioTrack,
videoTrack: videoTrack,
auxiliaryTracks: auxiliaryTracks);