Node.fromJson constructor

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

Implementation

factory Node.fromJson(Map<String, dynamic> json) {
  return Node(
    availabilityZone: json['AvailabilityZone'] as String?,
    endpoint: json['Endpoint'] != null
        ? Endpoint.fromJson(json['Endpoint'] as Map<String, dynamic>)
        : null,
    nodeCreateTime: timeStampFromJson(json['NodeCreateTime']),
    nodeId: json['NodeId'] as String?,
    nodeStatus: json['NodeStatus'] as String?,
    parameterGroupStatus: json['ParameterGroupStatus'] as String?,
  );
}