ApiException class

Implemented types

Constructors

ApiException.new(int? _code, String? _message)
ApiException.dioError(DioException error)
ApiException.unknowError(String? message)

Properties

code int
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
no setter
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

errnoCancel → const int
网络请求取消
errnoConnectTimeout → const int
连接超时
errnoReceiveTimeout → const int
响应超时
errnoUnknown → const int
未知错误