BrMobile constructor
const
BrMobile({
- String? mal,
Validates masked and unmasked (with or without '+55' prefix) Brazilian mobile numbers.
mal
the error message in case of a malformed number; the default value
is 'malformed number'.
Implementation
const BrMobile({String? mal}) : _malformed = mal ?? 'malformed number';