DescribeStandardsControlsResponse.fromJson constructor

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

Implementation

factory DescribeStandardsControlsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeStandardsControlsResponse(
    controls: (json['Controls'] as List?)
        ?.whereNotNull()
        .map((e) => StandardsControl.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}