call method
Implementation
@override
Future<bool?> call({required String phoneNumber}) async {
if (phoneNumber.isEmpty) {
return false;
}
var appId = await _establishmentById.currentId();
if (appId == null) {
return null;
}
return await _repository.sendSmsBeforeRegistration(
phoneNumber: phoneNumber, appId: appId);
}