InputPassportElementErrorSourceTranslationFiles.fromJson constructor

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

Parse from a json

Implementation

factory InputPassportElementErrorSourceTranslationFiles.fromJson(Map<String, dynamic> json) => InputPassportElementErrorSourceTranslationFiles(
  fileHashes: List<String>.from((json['file_hashes'] ?? []).map((item) => item).toList()),
);