NationalNumber class

National number.

Annotations
  • @Deprecated('Please use `isValidNationalNumber`.')

Constructors

NationalNumber(String value)
The main constructor.
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
value String
Actual NationalNumber.
final

Methods

isValid() bool
Checks if the given value is a valid National Number.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Converts the instance of NationalNumber to string.
override

Operators

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