SentryRuntime.fromJson constructor

SentryRuntime.fromJson(
  1. Map<String, dynamic> data
)

Deserializes a SentryRuntime from JSON Map.

Implementation

factory SentryRuntime.fromJson(Map<String, dynamic> data) => SentryRuntime(
      name: data['name'],
      version: data['version'],
      compiler: data['compiler'],
      rawDescription: data['raw_description'],
      build: data['build'],
    );