CallTerminationReason class

Data class to hold detailed reasons for call termination. All fields are optional as they may not always be available.

Constructors

CallTerminationReason.new({String? cause, int? causeCode, int? sipCode, String? sipReason})
Creates a new CallTerminationReason instance.
const

Properties

cause String?
General cause description (e.g., "CALL_REJECTED").
final
causeCode int?
Numerical code for the cause (e.g., 21).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sipCode int?
SIP response code (e.g., 403).
final
sipReason String?
SIP reason phrase (e.g., "Dialed number is not included in whitelisted countries").
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Creates a string representation of the termination reason.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited