HMSLocalPeer constructor Null safety

HMSLocalPeer(
  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

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);