Sentry.fromJson constructor

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

Implementation

Sentry.fromJson(Map<String, dynamic> json) {
  if (json["url"] is String) url = json["url"];
  if (json["enabled"] is bool) enabled = json["enabled"];
  if (json["debug_enabled"] is bool) {
    debugEnabled = json["debug_enabled"];
  }
  if (json["debug_intent"] is int) debugIntent = json["debug_intent"];
}