EventSpa.appException constructor

EventSpa.appException({
  1. required String fatal,
  2. required String engagementTimeMSec,
})

Use this constructor is app fatal error and crash app fatal is the error message engagementTimeMSec is the time in milliseconds, the user was engaged with the app

Implementation

EventSpa.appException({
  required String fatal,
  required String engagementTimeMSec,
}) : this(
    eventType: "app_exception",
    customParam: {
      'fatal': fatal,
      'engagement_time_msec': engagementTimeMSec,
    }
);