DescribeQueryDefinitionsResponse.fromJson constructor

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

Implementation

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