ListVirtualNodesOutput.fromJson constructor

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

Implementation

factory ListVirtualNodesOutput.fromJson(Map<String, dynamic> json) {
  return ListVirtualNodesOutput(
    virtualNodes: (json['virtualNodes'] as List)
        .whereNotNull()
        .map((e) => VirtualNodeRef.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}