Skip to content

Commit

Permalink
Update headers nullability in README examples
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirBrejcha committed Mar 26, 2021
1 parent bfe8534 commit 27e382b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ They can be triggered by the `VICall` class instance as the class contains all t
return call;
}
_onCallConnected(VICall call, Map<String, String> headers) {
_onCallConnected(VICall call, Map<String, String>? headers) {
print('Call connected');
}
```
Expand All @@ -95,7 +95,7 @@ There are three methods for an incoming call: answer, decline and reject. An aud
_client.onIncomingCall = _onIncomingCall;
}
_onIncomingCall(VIClient client, VICall call, bool video, Map<String, String> headers) async {
_onIncomingCall(VIClient client, VICall call, bool video, Map<String, String>? headers) async {
await call.answer();
}
```
Expand Down

0 comments on commit 27e382b

Please sign in to comment.