PassportElementPassport class
- Inheritance
-
- Object
- TdObject
- PassportElement
- PassportElementPassport
Constructors
- PassportElementPassport({required IdentityDocument passport, dynamic extra, int? clientId})
-
A Telegram Passport element containing the user's passport
const
-
PassportElementPassport.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
Methods
-
copyWith(
{IdentityDocument? passport, dynamic extra, int? clientId}) → PassportElementPassport -
override
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String