NexusCall class
Immutable snapshot of the current call, exposed via a ValueListenable.
Constructors
-
NexusCall({required String sessionId, required VoiceCallDirection direction, required VoiceCallState state, String? legId, String? remoteAddress, String? remoteName, String? remoteAvatar, bool muted = false, bool onHold = false, bool speakerphone = false, DateTime? startedAt, DateTime? connectedAt, CallQualitySample? quality, String? endReason, Map<
String, dynamic> metadata = const {}}) -
const
Properties
- connectedAt → DateTime?
-
final
- direction → VoiceCallDirection
-
final
- endReason → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- legId → String?
-
final
-
metadata
→ Map<
String, dynamic> -
final
- muted → bool
-
final
- onHold → bool
-
final
- quality → CallQualitySample?
-
final
- remoteAddress → String?
-
final
- remoteAvatar → String?
-
final
- remoteName → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → String
-
final
- speakerphone → bool
-
final
- startedAt → DateTime?
-
final
- state → VoiceCallState
-
final
Methods
-
copyWith(
{String? legId, VoiceCallState? state, bool? muted, bool? onHold, bool? speakerphone, DateTime? connectedAt, CallQualitySample? quality, String? endReason}) → NexusCall -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited