ResourceReference.fromJson constructor
Implementation
factory ResourceReference.fromJson(Map<String, Object?> map) {
final submap = map['@'] as Map<String, Object?>;
return ResourceReference(
uri: Uri.file(submap['uri'] as String),
line: submap['line'] as int,
column: submap['column'] as int,
arguments: Map<String, Object?>.from(map)..remove('@'),
);
}