NullRejectionException class
Exception for when aJSPromise that is converted viaJSPromiseToFuture.toDart is rejected with anull orundefined value.
This is public to allow users to catch when the promise is rejected withnull orundefined versus some other value.
- Implemented types
Constructors
- NullRejectionException(boolisUndefined)
Properties
- hashCode→int
- The hash code for this object.no setterinherited
- isUndefined→bool
- final
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
Methods
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- toString(
)→String - A string representation of this object.override
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited