CheckRunAnnotation.fromJSON constructor
CheckRunAnnotation.fromJSON(
- Map<String, dynamic> input
)
Implementation
factory CheckRunAnnotation.fromJSON(Map<String, dynamic> input) {
return CheckRunAnnotation(
path: input['path'],
startLine: input['start_line'],
endLine: input['end_line'],
startColumn: input['start_column'],
endColumn: input['end_column'],
annotationLevel:
CheckRunAnnotationLevel._fromValue(input['annotation_level']),
title: input['title'],
message: input['message'],
rawDetails: input['raw_details'],
);
}