ExpressionValueTypeMismatchException constructor

ExpressionValueTypeMismatchException(
  1. DartBlockExpressionValue<dynamic, DartBlockValueTreeNode> dynamicValue,
  2. dynamic concreteValue,
  3. Type expectedType,
  4. Type gotType,
)

Implementation

ExpressionValueTypeMismatchException(
  this.dynamicValue,
  this.concreteValue,
  this.expectedType,
  this.gotType,
) : super(
      title: "Value Type Mismatch",
      message:
          "Value type mismatch for '${dynamicValue.toString()}': expected type '$expectedType', got '$gotType' ($concreteValue).",
    );