Instance class

Eureka客户端实例对象

@author luodongseu

Constructors

Instance({String instanceId, String appId, int port, String status = 'UP', String ipAddr, String contextPath = '/'})

Properties

appId String
APP ID
final
contextPath String
上下文路径
final
hashCode int
The hash code for this object.
read-onlyinherited
instanceId String
实例ID
final
ipAddr String
IP 地址
final
port int
端口号
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
status String
状态
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → dynamic
转换成JSON,补充部分字段
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic json) Instance
从json解析