matchSuccess method

void matchSuccess()

Implementation

void matchSuccess() async {
  await widget.delegate?.onCallStart(type);
  currentDown = widget.videoMatchTime;
  match15 = true;
  willSendVideo(5,
      newTime: DateTime.now().millisecondsSinceEpoch - userJoinedRate);
  currentRate = 0;
  showTime = true;
  if (!mounted) {
    return;
  }
  setState(() {});
}