SentryStackFrame.fromJson constructor
Deserializes a SentryStackFrame from JSON Map.
Implementation
factory SentryStackFrame.fromJson(Map<String, dynamic> data) {
final json = AccessAwareMap(data);
return SentryStackFrame(
absPath: json['abs_path'],
fileName: json['filename'],
function: json['function'],
module: json['module'],
lineNo: json['lineno'],
colNo: json['colno'],
contextLine: json['context_line'],
inApp: json['in_app'],
package: json['package'],
native: json['native'],
platform: json['platform'],
imageAddr: json['image_addr'],
symbolAddr: json['symbol_addr'],
instructionAddr: json['instruction_addr'],
rawFunction: json['raw_function'],
framesOmitted: json['frames_omitted'],
preContext: json['pre_context'],
postContext: json['post_context'],
vars: json['vars'],
symbol: json['symbol'],
stackStart: json['stack_start'],
unknown: json.notAccessed(),
);
}