onFlutterError method
Implementation
void onFlutterError(FlutterErrorDetails details) {
if (isInDebugMode) {
// In development mode simply print to console.
FlutterError.dumpErrorToConsole(details);
} else {
// In production mode report to the application zone to report to
// Forest.
performReportFlutterError(details);
}
}