CheckRunAnnotation class

Annotations
  • @immutable

Constructors

CheckRunAnnotation({required CheckRunAnnotationLevel annotationLevel, required int endLine, required String message, required String path, required int startLine, required String title, int? startColumn, int? endColumn, String? rawDetails})
const
CheckRunAnnotation.fromJSON(Map<String, dynamic> input)
factory

Properties

annotationLevel CheckRunAnnotationLevel
The level of the annotation. Can be one of notice, warning, or failure.
final
endColumn int?
The end column of the annotation. Annotations only support start_column and end_column on the same line. Omit this parameter if start_line and end_line have different values.
final
endLine int
The end line of the annotation.
final
hashCode int
The hash code for this object.
no setteroverride
message String
A short description of the feedback for these lines of code. The maximum size is 64 KB.
final
path String
The path of the file to add an annotation to. For example, assets/css/main.css.
final
rawDetails String?
Details about this annotation. The maximum size is 64 KB.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startColumn int?
The start column of the annotation. Annotations only support start_column and end_column on the same line. Omit this parameter if start_line and end_line have different values.
final
startLine int
The start line of the annotation.
final
title String
The title that represents the annotation. The maximum size is 255 characters.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
override