fromJson static method

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

Implementation

static InputPassportElementErrorSourceFiles? fromJson(
  Map<String, dynamic>? json,
) {
  if (json == null) {
    return null;
  }

  return InputPassportElementErrorSourceFiles(
    fileHashes: List<String>.from(
      tdListFromJson(
        json['file_hashes'],
      ).map((item) => (item as dynamic)?.toString() ?? ''),
    ),
  );
}