InputPassportElementErrorSourceFiles.fromJson constructor

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

Parse from a json

Implementation

InputPassportElementErrorSourceFiles.fromJson(Map<String, dynamic> json) {
  this.fileHashes = List<String>.from(
      (json['file_hashes'] ?? []).map((item) => item).toList());
}