ReqBrMobile constructor

ReqBrMobile({
  1. String? blank,
  2. String? mal,
})

Validates masked and unmasked (with or without '+55' prefix) Brazilian mobile numbers.

blank the error message in case of a null or empty mobile number. mal the error message in case of a malformed number.

Implementation

ReqBrMobile({String? blank, String? mal})
    : _reqBrMobile = Pair.str2(Req(blank: blank), BrMobile(mal: mal));