GetVpcLinksResponse.fromJson constructor

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

Implementation

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