ArgumentException class

A specific exception class 'ArgumentException' that extends 'BlockchainUtilsException'. This exception is used to represent errors related to invalid arguments in blockchain utility operations.

Inheritance
Implemented types
Implementers

Properties

details Map<String, dynamic>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
invalidValue → dynamic
The invalid value.
no setteroverride
message String
Abstract field to hold the exception message.
finalinherited
name String?
Name of the invalid argument, if available.
final
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.
final

Methods

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

invalidOperationArguments(String operation, {String? name, required String reason, int? expecteLen, Map<String, dynamic>? details}) ArgumentException