ListStoredQueriesResponse.fromJson constructor

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

Implementation

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