Location.fromJson(Map<String, dynamic> json) { file = json['file']; range = json['range'] != null ? new Range.fromJson(json['range']) : null; }