DescribeAccessPointsResponse.fromJson constructor

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

Implementation

factory DescribeAccessPointsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeAccessPointsResponse(
    accessPoints: (json['AccessPoints'] as List?)
        ?.whereNotNull()
        .map(
            (e) => AccessPointDescription.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}