ListLexiconsOutput.fromJson constructor

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

Implementation

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