SentryPackage.fromJson constructor

SentryPackage.fromJson(
  1. Map<String, dynamic> json
)

Deserializes a SentryPackage from JSON Map.

Implementation

factory SentryPackage.fromJson(Map<String, dynamic> json) {
  return SentryPackage(
    json['name'],
    json['version'],
  );
}