SentryBrowser.fromJson constructor

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

Deserializes a SentryBrowser from JSON Map.

Implementation

factory SentryBrowser.fromJson(Map<String, dynamic> data) {
  final json = AccessAwareMap(data);
  return SentryBrowser(
    name: json['name'],
    version: json['version'],
    unknown: json.notAccessed(),
  );
}