ZookeeperNodeInfo.fromJson constructor
ZookeeperNodeInfo.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ZookeeperNodeInfo.fromJson(Map<String, dynamic> json) {
return ZookeeperNodeInfo(
attachedENIId: json['attachedENIId'] as String?,
clientVpcIpAddress: json['clientVpcIpAddress'] as String?,
endpoints: (json['endpoints'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
zookeeperId: json['zookeeperId'] as double?,
zookeeperVersion: json['zookeeperVersion'] as String?,
);
}