AuthE164PhoneNumberPolicy class final

Strict E.164 policy without locale-dependent guessing.

Input is trimmed at its edges, then must already be + followed by 2 to 15 ASCII digits. The first digit cannot be zero. Formatting punctuation, national numbers, Unicode digits, extensions, and embedded whitespace are rejected rather than interpreted ambiguously.

Implemented types

Constructors

AuthE164PhoneNumberPolicy()
Creates a policy that accepts strict E.164 values.
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

normalize(String input) String?
Normalizes input, or returns null when it is not accepted.
override
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