DomainError class

Error thrown when a function's domain is not defined or function is invoked on an argument not in domain

Inheritance
Implementers

Constructors

DomainError([dynamic message])
Creates a domain error with message describing the problem
DomainError.value(dynamic value, [String? name, dynamic message])
Creates a domain error containing the invalid value

Properties

hashCode int
The hash code for this object.
no setterinherited
invalidValue → dynamic
The invalid value.
finalinherited
message → dynamic
Message describing the problem.
finalinherited
name String?
Name of the invalid argument, if available.
finalinherited
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 setterinherited

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