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.new(includeIfNull: false)
Constructors
- PassportElementError({EncryptedPassportElementSource? source, EncryptedPassportElementType? type, String? message})
-
PassportElementError.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
Error message.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ EncryptedPassportElementSource?
-
Error source.
getter/setter pair
- type ↔ EncryptedPassportElementType?
-
Error type.
getter/setter pair
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