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