RegisterUser class
- Inheritance
-
- Object
- TdFunction
- RegisterUser
Constructors
- RegisterUser({required String firstName, required String lastName})
-
Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration
const
Properties
- firstName → String
-
firstName The first name of the user; 1-64 characters
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastName → String
-
lastName The last name of the user; 0-64 characters
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? firstName, String? lastName}) → RegisterUser -
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