showLeakedInfoListPage function Null safety

void showLeakedInfoListPage(
  1. BuildContext context,
  2. List<LeakedInfo> leakInfoList
)

Implementation

void showLeakedInfoListPage(
    BuildContext context, List<LeakedInfo> leakInfoList) {
  if (leakInfoList.isEmpty) return;
  BottomPopupCard.show(
    context,
    LeakPreviewPage(leakInfoList: leakInfoList),
  );
}