AppException class

AppException is a custom exception class that implements the Exception interface. It can be used throughout the application to throw custom exceptions.

The class constructor accepts an optional message of type String. This message can be used to provide more details about the exception.

Implemented types

Constructors

AppException([String? message])
Creates a new instance of AppException.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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