StatusCode enum

auth status code

Inheritance

Constructors

StatusCode()
const

Values

invalid → const StatusCode

无效

unLogin → const StatusCode

未登录/登录失败

forbidden → const StatusCode

被服务器拒绝连接,403,422

netBroken → const StatusCode

网络连接已断开

connecting → const StatusCode

正在连接服务器

logining → const StatusCode

正在登录中

logined → const StatusCode

已成功登录

verError → const StatusCode

客户端版本错误

pwdError → const StatusCode

用户名或密码错误

kickOut → const StatusCode

被其他端的登录踢掉

kickByOtherClient → const StatusCode

被同时在线的其他端主动踢掉

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<StatusCode>
A constant List of the values in this enum, in order of their declaration.