listFromJson static method
Converts a list of JSON objects to a list of CodeLocation instances.
@param json The list of JSON objects to convert. @return A list of CodeLocation instances.
Implementation
static List<CodeLocation> listFromJson(List<dynamic> json) {
return json.map((value) => CodeLocation.fromJson(value)).toList();
}