PassportElementErrorFiles class
Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
- Inheritance
-
- Object
- PassportElementError
- PassportElementErrorFiles
Constructors
-
PassportElementErrorFiles({required String source, required PassportType type, required String message, required List<
String> fileHashes}) -
Constructs a PassportElementErrorFiles object
const
-
PassportElementErrorFiles.fromJson(Map<
String, dynamic> json) -
Creates a PassportElementErrorFiles object from JSON object
factory
Properties
-
fileHashes
→ List<
String> -
List of base64-encoded file hashes
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Error message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Error source
finalinherited
- type → PassportType
-
The section of the user's Telegram Passport which has the error
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts a PassportElementErrorFiles object to JSON object
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited