$ArgumentError class
dart_eval wrapper for ArgumentError
- Implemented types
Constructors
- $ArgumentError.wrap(ArgumentError $value)
- Wrap a ArgumentError in a $ArgumentError
Properties
- $reified → ArgumentError
-
Fully reify the underlying value so it can be used in a Dart context.
For example, recursively transform collections into their underlying
$values.
no setteroverride
- $value → ArgumentError
-
The backing Dart value of this $Value
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidValue → Object?
-
The invalid value.
no setteroverride
- message → String?
-
Message describing the problem.
no setteroverride
- name → String?
-
Name of the invalid argument, if available.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setteroverride
Methods
-
$getProperty(
Runtime runtime, String identifier) → $Value? -
Get a property by
identifier
on this instanceoverride -
$getRuntimeType(
Runtime runtime) → int -
override
-
$setProperty(
Runtime runtime, String identifier, $Value value) → void -
Set a property by
identifier
on this instance tovalue
override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
$_value(
Runtime runtime, $Value? target, List< $Value?> args) → $ArgumentError - Create a new $ArgumentError wrapping ArgumentError.value
-
$new(
Runtime runtime, $Value? target, List< $Value?> args) → $ArgumentError - Create a new $ArgumentError wrapping ArgumentError.new
-
$notNull(
Runtime runtime, $Value? target, List< $Value?> args) → $ArgumentError - Create a new $ArgumentError wrapping ArgumentError.notNull
Constants
- $declaration → const BridgeClassDef