Google is committed to advancing racial equity for Black communities. See how.

handleException function

*<Null safety>*

void handleException (String name, dynamic exception, void close())

Calls close and prints the exception.

Implementation

void handleException(String name, dynamic exception, void Function() close) {
  close();
  print('Exception handling method call $name: $exception');
}