JiraExpressionAnalysis class

Details about the analysed Jira expression.

Constructors

JiraExpressionAnalysis({JiraExpressionComplexity? complexity, List<JiraExpressionValidationError>? errors, required String expression, String? type, required bool valid})
JiraExpressionAnalysis.fromJson(Map<String, Object?> json)
factory

Properties

complexity JiraExpressionComplexity?
final
errors List<JiraExpressionValidationError>
A list of validation errors. Not included if the expression is valid.
final
expression String
The analysed expression.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
EXPERIMENTAL. The inferred type of the expression.
final
valid bool
Whether the expression is valid and the interpreter will evaluate it. Note that the expression may fail at runtime (for example, if it executes too many expensive operations).
final

Methods

copyWith({JiraExpressionComplexity? complexity, List<JiraExpressionValidationError>? errors, String? expression, String? type, bool? valid}) JiraExpressionAnalysis
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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