BugsnagAppWithState.fromJson constructor

BugsnagAppWithState.fromJson(
  1. Map<String, Object?> json
)

Implementation

BugsnagAppWithState.fromJson(Map<String, Object?> json)
    : duration = json.safeGet<num>('duration')?.toInt(),
      durationInForeground =
          json.safeGet<num>('durationInForeground')?.toInt(),
      inForeground = json.safeGet('inForeground'),
      isLaunching = json.safeGet('isLaunching'),
      super.fromJson(json);