Call constructor

const Call({
  1. required int id,
  2. required int userId,
  3. required bool isOutgoing,
  4. required bool isVideo,
  5. required CallState state,
})

Call (call) - basic class

Describes a call.

  • id: Call identifier, not persistent.
  • userId: User identifier of the other call participant.
  • isOutgoing: True, if the call is outgoing.
  • isVideo: True, if the call is a video call.
  • state: Call state.

Implementation

const Call({
  required this.id,
  required this.userId,
  required this.isOutgoing,
  required this.isVideo,
  required this.state,
});