Contexts constructor

Contexts({
  1. SentryDevice? device,
  2. SentryOperatingSystem? operatingSystem,
  3. List<SentryRuntime>? runtimes,
  4. SentryApp? app,
  5. SentryBrowser? browser,
  6. SentryGpu? gpu,
})

Implementation

Contexts({
  SentryDevice? device,
  SentryOperatingSystem? operatingSystem,
  List<SentryRuntime>? runtimes,
  SentryApp? app,
  SentryBrowser? browser,
  SentryGpu? gpu,
}) : super({
        SentryDevice.type: device,
        SentryOperatingSystem.type: operatingSystem,
        SentryRuntime.listType: runtimes ?? [],
        SentryApp.type: app,
        SentryBrowser.type: browser,
        SentryGpu.type: gpu,
      });