catchAsWarningAsync function

Future<void> catchAsWarningAsync(
  1. Future<void> func()
)

Implementation

Future<void> catchAsWarningAsync(Future<void> Function() func) async {
  try {
    await func();
  } catch (e, stack) {
    Fimber.w('$e', stacktrace:  stack);
  }
}