AgoraSettings constructor Null safety

AgoraSettings(
  1. {RtcEngine? engine,
  2. AgoraConnectionData? connectionData,
  3. required List<AgoraUser> users,
  4. required AgoraUser mainAgoraUser,
  5. required bool isLocalUserMuted,
  6. required bool isLocalVideoDisabled,
  7. required bool visible,
  8. required ClientRole clientRole,
  9. required int localUid,
  10. String? generatedToken,
  11. bool isActiveSpeakerDisabled = false}
)

Implementation

AgoraSettings({
  this.engine,
  this.connectionData,
  required this.users,
  required this.mainAgoraUser,
  required this.isLocalUserMuted,
  required this.isLocalVideoDisabled,
  required this.visible,
  required this.clientRole,
  required this.localUid,
  this.generatedToken,
  this.isActiveSpeakerDisabled = false,
});