InputPassportElementError.fromJson constructor

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

Parse from a json

Implementation

factory InputPassportElementError.fromJson(Map<String, dynamic> json) => InputPassportElementError(
  type: PassportElementType.fromJson(json['type']),
  message: json['message'],
  source: InputPassportElementErrorSource.fromJson(json['source']),
);