resetLoginEmail method
Reset Login Email.
ID: 7e960193
.
Implementation
Future<Result<AuthSentCodeBase>> resetLoginEmail({
required String phoneNumber,
required String phoneCodeHash,
}) async {
// Preparing the request.
final request = AuthResetLoginEmail(
phoneNumber: phoneNumber,
phoneCodeHash: phoneCodeHash,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<AuthSentCodeBase>();
}