EndpointDescription.fromJson constructor
Implementation
factory EndpointDescription.fromJson(Map<String, dynamic> json) {
return EndpointDescription(
clientIPPreservationEnabled: json['ClientIPPreservationEnabled'] as bool?,
endpointId: json['EndpointId'] as String?,
healthReason: json['HealthReason'] as String?,
healthState: (json['HealthState'] as String?)?.toHealthState(),
weight: json['Weight'] as int?,
);
}