DartBlockFunctionMissingArgumentException class

An exception thrown when DartBlock attempts to execute a FunctionCallStatement, where one of the argument's value type does not match the corresponding function parameter's type. (based on parameter position/index)

Inheritance

Constructors

DartBlockFunctionMissingArgumentException(String functionName, DartBlockVariableDefinition variableDefinition, int parameterIndex, Type gotType)

Properties

functionName → String
The name of the function being called.
final
gotType → Type
The actual type of the argument for the corresponding parameter.
final
hashCode → int
The hash code for this object.
no setterinherited
internalMessage ↔ String
An explanation of the exception for internal usage, e.g., logging.
getter/setter pairinherited
isGeneric ↔ bool
Whether the exception stems from Dart's own engine, or it is simply an unknown exception.
getter/setter pairinherited
message ↔ String
A short explanation of the exception.
getter/setter pairinherited
parameterIndex → int
The position/index of the corresponding function parameter.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statement ↔ Statement?
The statement which caused the exception to be thrown.
getter/setter pairinherited
title ↔ String
The descriptive title of the exception.
getter/setter pairinherited
variableDefinition → DartBlockVariableDefinition
The corresponding function parameter. (name and type)
final

Methods

describe({bool includeThrownBy = true}) → String
Used for the output of certain evaluation schemas.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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