AwsElbLoadBalancerBackendServerDescription.fromJson constructor

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

Implementation

factory AwsElbLoadBalancerBackendServerDescription.fromJson(
    Map<String, dynamic> json) {
  return AwsElbLoadBalancerBackendServerDescription(
    instancePort: json['InstancePort'] as int?,
    policyNames: (json['PolicyNames'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}