ListVirtualServicesOutput.fromJson constructor

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

Implementation

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