Value.fromJson constructor
Implementation
factory Value.fromJson(Map<String, dynamic> json) {
return Value(
text: json['text'] as String,
range: json.containsKey('range')
? SourceRange.fromJson(json['range'] as Map<String, dynamic>)
: null,
specificity: json.containsKey('specificity')
? Specificity.fromJson(json['specificity'] as Map<String, dynamic>)
: null,
);
}