ListNamedQueriesOutput.fromJson constructor

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

Implementation

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