SentryThread.fromJson constructor

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

Implementation

factory SentryThread.fromJson(Map<String, dynamic> json) {
  return SentryThread(
    id: json['id'] as int?,
    name: json['name'] as String?,
    crashed: json['crashed'] as bool?,
    current: json['current'] as bool?,
    stacktrace:
        json['stacktrace'] == null ? null : SentryStackTrace.fromJson(json),
  );
}