toCallInfo method

dynamic toCallInfo(
  1. CallLogData item
)

Implementation

toCallInfo(CallLogData item) async {
  var result = await NavUtils.toNamed(Routes.callInfo, arguments: item);
  if (result != null) {
    var chatIndex =
        callLogList.indexWhere((element) => item.roomId == element.roomId);
    callLogList.removeAt(chatIndex);
  }
}