getClearLeadText method

String getClearLeadText(
  1. Datum content
)

Implementation

String getClearLeadText(Datum content) {
  // String buttonStatus = "";
  // Contentdetail contentdetail = content.contentdetails![0];
  // int clearLeadDuration = contentdetail.clearlead ?? 0;
  // if (clearLeadDuration < 60) {
  //   buttonStatus = "Watch ${(clearLeadDuration).toString()} secs free";
  // } else {
  //   buttonStatus = "Watch ${clearLeadDuration ~/ 60} mins free";
  // }
  // return buttonStatus;
  return "Watch Now";
}