PhoneNumberRange class Null safety

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.
read-only
countryCode String
final
end PhoneNumber
final
hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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