OutgoingCall class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

OutgoingCall(String id, CallStatus status, bool muted, bool speakerphone, int duration, DateTime? startTime, DateTime? establishTime, DateTime? endTime, User source, User destination)
OutgoingCall.fromJson(Map<String, dynamic> json)
factory

Properties

callEventListener CallEventListener?
getter/setter pairinherited
destination User
finalinherited
duration int
finalinherited
endTime DateTime?
finalinherited
establishTime DateTime?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
muted bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source User
finalinherited
speakerphone bool
getter/setter pairinherited
startTime DateTime?
finalinherited
status CallStatus
finalinherited

Methods

hangup() Future<void>
Hangup the current call.
inherited
localVideo(bool localVideo) Future<void>
Set whether the local user has their video enabled based on localVideo.
inherited
mute(bool mute) Future<void>
Mute the current user based on mute.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCameraOrientation(CameraOrientation orientation) Future<void>
Sets orientation as the new current camera orientation.
inherited
setSpeakerphone(bool enabled) Future<void>
Set whether speakerphone is enabled.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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