connectingStep property

String get connectingStep

Implementation

String get connectingStep {
  if (_currentConnectStep != null){
    final lastStep = _currentConnectStep;
    if (lastStep != null && lastStep.isNotEmpty) {
      final stepKey = lastStep.keys.first;
      final stepData = lastStep[stepKey];
      final callId = BaseEntity.stringValue(lastStep, "callId") ?? "";
      final role = BaseEntity.stringValue(lastStep, "role") ?? "";
      return "$stepKey : $stepData, callId: $callId, role: $role";
    }
  }
  return "";
}