ApiError class

Constructors

ApiError({required int code, required String message, required dynamic data})
const
ApiError.fromJson(Map<String, dynamic> json)
factory

Properties

code → int
final
data → dynamic
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? code, String? message, dynamic data}) → ApiError
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