Edge.fromJson constructor

Edge.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Edge.fromJson(Map<String, dynamic> json)
    : tenantId = TenantId.fromJson(json['tenantId']),
      customerId = json['customerId'] != null
          ? CustomerId.fromJson(json['customerId'])
          : null,
      name = json['name'],
      type = json['type'],
      label = json['label'],
      routingKey = json['routingKey'],
      secret = json['secret'],
      edgeLicenseKey = json['edgeLicenseKey'],
      cloudEndpoint = json['cloudEndpoint'],
      super.fromJson(json);