AgoraClient constructor Null safety

AgoraClient(
  1. {required AgoraConnectionData agoraConnectionData,
  2. required List<Permission> enabledPermission,
  3. AgoraChannelData? agoraChannelData,
  4. AgoraEventHandlers? agoraEventHandlers}
)

Implementation

AgoraClient({
  required AgoraConnectionData agoraConnectionData,
  required List<Permission> enabledPermission,
  AgoraChannelData? agoraChannelData,
  AgoraEventHandlers? agoraEventHandlers,
}) {
  _initAgoraRtcEngine(
    agoraConnectionData: agoraConnectionData,
    enabledPermission: enabledPermission,
    agoraChannelData: agoraChannelData,
    agoraEventHandlers: agoraEventHandlers,
  );
}