PassportElementError class
This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
It should be one of:
- Implementers
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- PassportElementError({required String source, required String type, required String message})
-
PassportElementError.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- typeAddress → const String
- typeDriverLicense → const String
- typeIdentityCard → const String
- typeInternalPassport → const String
- typePassport → const String
- typePersonalDetails → const String