fromJson static method

Instance fromJson(
  1. dynamic json
)

从json解析

Implementation

static Instance fromJson(json) {
  return Instance(
      appId: json['app'],
      instanceId: json['instanceId'],
      ipAddr: json['ipAddr'],
      port: json['port']['\$']
  );
}