PhoneNumberRange class

Describes a contiguous range of phone numbers

Constructors

PhoneNumberRange(PhoneNumber start, PhoneNumber end)

Properties

count int
Calculates the number of PhoneNumbers in the range (inclusive of start and end) where 'this' is the start of the range and endOfRange is the end of the range.
no setter
countryCode String
final
end PhoneNumber
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start PhoneNumber
final

Methods

expandRange() List<PhoneNumber>
Returns a list of PhoneNumbers in the range this to endOfRange inclusive.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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