InputPassportElementErrorSourceFiles.fromJson constructor

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

Parse from a json

Implementation

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