getLastCallId static method

Future<String?> getLastCallId()

Returns the id of the last displayed call. It is useful on starting app step for navigation to the call screen if the call was accepted

Implementation

static Future<String?> getLastCallId() async {
  if (!Platform.isAndroid && !Platform.isIOS) return Future.value(null);

  return _methodChannel.invokeMethod("getLastCallId");
}