ShortNumberCost enum

  • @enum {number} Cost categories of short numbers. */ i18n.phonenumbers.ShortNumberInfo.ShortNumberCost = { TOLL_FREE: 0, STANDARD_RATE: 1, PREMIUM_RATE: 2, UNKNOWN_COST: 3 };
Inheritance

Constructors

ShortNumberCost({required int value})
const

Values

TOLL_FREE → const ShortNumberCost
const ShortNumberCost(value: 0)
STANDARD_RATE → const ShortNumberCost
const ShortNumberCost(value: 1)
PREMIUM_RATE → const ShortNumberCost
const ShortNumberCost(value: 2)
UNKNOWN_COST → const ShortNumberCost
const ShortNumberCost(value: 3)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

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

Static Methods

fromIndex(int? index) ShortNumberCost

Constants

values → const List<ShortNumberCost>
A constant List of the values in this enum, in order of their declaration.