DescribeAffectedEntitiesResponse.fromJson constructor

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

Implementation

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