Throwable class
Object that contains more information if an API call failed due to a non-API related error.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- Throwable.new(String? message, {required Throwable? throwable})
-
Throwable.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited