Skip to content

Commit 1f7a3e6

Browse files
fix(hangup): set cancel reason nullable (#346)
Co-authored-by: Alexander Berger <alexander@appmotion.de>
1 parent 9d9edcc commit 1f7a3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/sip_message.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class InitialOutgoingInviteRequest extends OutgoingRequest {
309309
transaction = null;
310310
}
311311

312-
void cancel(String reason) {
312+
void cancel(String? reason) {
313313
transaction.cancel(reason);
314314
}
315315

0 commit comments

Comments
 (0)