toModel method

ChatCall toModel()

Constructs a new ChatCall from this ChatCallMixin.

Implementation

ChatCall toModel() => ChatCall(
  id,
  chatId,
  author.toModel(),
  at,
  members: members.map((e) => e.toModel()).toList(),
  withVideo: withVideo,
  conversationStartedAt: conversationStartedAt,
  finishReasonIndex: finishReason?.index,
  finishedAt: finishedAt,
  dialed: dialed?.toModel(),
);