StackTraceId.fromJson constructor

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

Implementation

factory StackTraceId.fromJson(Map<String, dynamic> json) {
  return StackTraceId(
    id: json['id'] as String,
    debuggerId: json.containsKey('debuggerId')
        ? UniqueDebuggerId.fromJson(json['debuggerId'] as String)
        : null,
  );
}