hideNumber static method
hideNumber
Implementation
static String hideNumber(String phoneNo,
{int start = 3, int end = 7, String replacement = '****'}) {
return phoneNo.replaceRange(start, end, replacement);
}
hideNumber
static String hideNumber(String phoneNo,
{int start = 3, int end = 7, String replacement = '****'}) {
return phoneNo.replaceRange(start, end, replacement);
}