InputPassportElementErrorSourceFrontSide.fromJson constructor

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

Parses a InputPassportElementErrorSourceFrontSide from TDLib JSON.

Implementation

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