ListIndicesResponse.fromJson constructor

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

Implementation

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