tryCatch function

void tryCatch(
  1. Function? f
)

Implementation

void tryCatch(Function? f) {
  try {
    f?.call();
  } catch (_) {
  }
}