handle static method Null safety

void handle(
  1. Object error,
  2. StackTrace stack
)

Handles error with stack.