ListVirtualRoutersOutput.fromJson constructor

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

Implementation

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