NodeSummary.fromJson constructor
Implementation
factory NodeSummary.fromJson(Map<String, dynamic> json) {
return NodeSummary(
availabilityZone: json['AvailabilityZone'] as String?,
creationDate: timeStampFromJson(json['CreationDate']),
id: json['Id'] as String?,
instanceType: json['InstanceType'] as String?,
status: (json['Status'] as String?)?.toNodeStatus(),
);
}