ListNodesResponse.fromJson constructor
Implementation
factory ListNodesResponse.fromJson(Map<String, dynamic> json) {
return ListNodesResponse(
nextToken: json['nextToken'] as String?,
nodeInfoList: (json['nodeInfoList'] as List?)
?.whereNotNull()
.map((e) => NodeInfo.fromJson(e as Map<String, dynamic>))
.toList(),
);
}