The argument type 'String?' can't be assigned to the parameter type 'String' because 'String?' is nullable and 'String' isn't.
jatin-web opened this issue · 1 comments
jatin-web commented
Describe the bug
I am getting this bug when I tried to run the basic code copied from agora_uikit package.
To Reproduce
Steps to reproduce the behavior:
- Add the package to your project
- Add the Code mentioned in the package documentation in pub dev
- Run the project
Expected behavior
Should run the project
ardeshir-33033 commented
I added userName to my AgoraClient and fixed this.
AgoraClient(
agoraConnectionData: AgoraConnectionData(
appId: appId,
channelName: callName!,
tempToken: token,
uid: calleeId,
username: callName!),
);
although I did not even updated my Agora package. I did see this bug but the problem is after I added this I get this error.
AgoraRtmChannel sendMessage failed errorCode: 102