ReqBrMobile class

Plano Brasileiro de Numeração Móvel Para Campos Obrigatórios.

Brazilian Mobile Numbering Plan for Required Fields.

Brazil's mobile numbering plan uses a two-digit area code plus nine-digit local numbers. Typically, a number is masked as (AA) NNNNN-NNNN, where AA = area code and N = digit 0–9. For example:

  • unmasked (plain) number: "11987654321".
  • unmasked with country code prefix: "+5511987654321".
  • masked number: "(11) 98765-4321".

Constructors

ReqBrMobile({String? blank, String? mal})
Validates masked and unmasked (with or without '+55' prefix) Brazilian mobile numbers.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(String? brMobile) String?
Checks whether the brMobile value is either blank or malformed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited