ExpressionWarning class
ExpressionWarning is a warning information that targets a specific expression.
Constructors
- ExpressionWarning({required String fieldRef, required String warning})
-
Default constructor.
const
-
ExpressionWarning.fromJson(Map<
String, dynamic> json) -
Creates a ExpressionWarning from JSON data.
factory
Properties
- fieldRef → String
-
The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].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
- warning → String
-
The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a ExpressionWarning instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited