EmailAddressAuthenticationCode class final
An authentication code delivered to a user's email address
- Inheritance
-
- Object
- TdObject
- EmailAddressAuthentication
- EmailAddressAuthenticationCode
- Available extensions
- Annotations
-
- @immutable
Constructors
- EmailAddressAuthenticationCode({required String code})
Properties
Methods
-
copyWith(
{String? code}) → EmailAddressAuthenticationCode -
Available on EmailAddressAuthenticationCode, provided by the EmailAddressAuthenticationCodeExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult appleId(EmailAddressAuthenticationAppleId value), required TResult code(EmailAddressAuthenticationCode value), required TResult googleId(EmailAddressAuthenticationGoogleId value)}) → TResult -
Available on EmailAddressAuthentication, provided by the EmailAddressAuthenticationExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult appleId(EmailAddressAuthenticationAppleId value)?, TResult code(EmailAddressAuthenticationCode value)?, TResult googleId(EmailAddressAuthenticationGoogleId value)?, required TResult orElse()}) → TResult -
Available on EmailAddressAuthentication, provided by the EmailAddressAuthenticationExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → EmailAddressAuthenticationCode? -
Inherited by:
EmailAddressAuthenticationAppleId
EmailAddressAuthenticationCode
EmailAddressAuthenticationGoogleId
override
Constants
- constructor → const String