SourceFrame.fromJson constructor
Create from JSON map (as received over DTD).
Implementation
factory SourceFrame.fromJson(Map<String, dynamic> json) => SourceFrame(
file: json['file'] as String,
line: json['line'] as int,
col: json['col'] as int,
desc: json['desc'] as String?,
type: (json['type'] as String?) ?? 'rohd',
);