call method
Checks whether brMobile
is well-formed.
Returns null if brMobile
is a valid Brazilian phone number; otherwise,
the error message.
Implementation
String? call(String? brMobile) {
if (brMobile == null) return null;
return BrMobileStrip(brMobile).value == null ? _malformed : null;
}