InputPassportElementError.fromJson constructor
Parses a InputPassportElementError from TDLib JSON.
Implementation
factory InputPassportElementError.fromJson(Map<String, dynamic> json) =>
InputPassportElementError(
type: _readObject(json['type'], PassportElementType.fromJson),
message: _readString(json['message']),
source: _readObject(
json['source'], InputPassportElementErrorSource.fromJson),
);