startCall abstract method

Future<void> startCall(
  1. String peerProfileId, {
  2. String peerName,
  3. String peerPhotoUrl,
  4. bool video,
})

Starts a 1:1 call with peerProfileId: creates/joins the two-person room, rings the peer (push notification) and opens the call screen for the caller. video = false → voice-only call.

Implementation

Future<void> startCall(
  String peerProfileId, {
  String peerName,
  String peerPhotoUrl,
  bool video,
});