setUniqueBeneficiaryId method
void
setUniqueBeneficiaryId(
- FormGroup form
Implementation
void setUniqueBeneficiaryId(FormGroup form) async {
var beneficiaryId = await UniqueIdGeneration().generateUniqueId(
localityCode: RegistrationDeliverySingleton().boundary!.code!,
loggedInUserId: RegistrationDeliverySingleton().loggedInUserUuid!,
returnCombinedIds: false);
form.control(_idNumberKey).value = beneficiaryId.first.toString();
}