SelectAggregateResourceConfigResponse.fromJson constructor

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

Implementation

factory SelectAggregateResourceConfigResponse.fromJson(
    Map<String, dynamic> json) {
  return SelectAggregateResourceConfigResponse(
    nextToken: json['NextToken'] as String?,
    queryInfo: json['QueryInfo'] != null
        ? QueryInfo.fromJson(json['QueryInfo'] as Map<String, dynamic>)
        : null,
    results: (json['Results'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}