Skip to content

Commit

Permalink
added comment (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedvdb authored Dec 7, 2023
1 parent c497330 commit 246a4a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/formatters/phone_number_formatter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class PhoneNumberFormatter {
if (nsn.isEmpty) {
return nsn;
}
// since the phone number might be incomplete, fake digits
// are temporarily added to format a complete number.
final missingDigits = _getMissingDigits(nsn, isoCode);
final completePhoneNumber = nsn + missingDigits;
final formatingRules =
Expand Down

0 comments on commit 246a4a3

Please sign in to comment.