BrMobile class

Plano Brasileiro de Numeração Móvel.

Brazilian Mobile Numbering Plan.

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".

References:

Constructors

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

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 brMobile is well-formed.
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