InputPassportElementErrorSourceSelfie.fromJson constructor

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

Parses a InputPassportElementErrorSourceSelfie from TDLib JSON.

Implementation

factory InputPassportElementErrorSourceSelfie.fromJson(
  Map<String, dynamic> json,
) => InputPassportElementErrorSourceSelfie(
  fileHash: _readString(json['file_hash']),
);