IssueFilter class

IssueFilter defines the filter used to filter out specific issues that needs to be indexed from the GitHub repository.

Use this class to choose specific issues that are needed to be indexed, like you only want to index the issues that are labeled as bug, you can use this class to filter out all other issues.

Example:

 final issueFilter = IssueFilter(labels: ['bug']);

This will only index the issues with bug label.

Inheritance

Constructors

IssueFilter({List<String>? labels, IssueState issueStatus = IssueState.closed, Duration? since})
Creates a IssueFilter object.

Properties

hashCode int
The hash code for this object.
no setterinherited
issueStatus IssueState
Kind of issues that is required to be indexed. Like, open issues, closed issues, or all the issues. It accepts IssueState as a value. Use:
final
labels List<String>?
List of labels whose issues are needs to be indexed from the from the GitHub issues.
final
minCliVersion String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
since Duration?
Duration of how older updated issues needs to be extracted.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process() Future<Map<String, dynamic>>
Internal method used by dash_agent to convert the shared DataSource to json format that can be sent on the web
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited