LexiconAttributes.fromJson constructor

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

Implementation

factory LexiconAttributes.fromJson(Map<String, dynamic> json) {
  return LexiconAttributes(
    alphabet: json['Alphabet'] as String?,
    languageCode: (json['LanguageCode'] as String?)?.toLanguageCode(),
    lastModified: timeStampFromJson(json['LastModified']),
    lexemesCount: json['LexemesCount'] as int?,
    lexiconArn: json['LexiconArn'] as String?,
    size: json['Size'] as int?,
  );
}