Idd class final
A class that represents an International Direct Dialing (IDD) code.
The Idd
class is a simple value object that represents an International
Direct Dialing (IDD) code. It consists of an int
value that represents the
root of the IDD code, and a List<int>
value that represents the suffixes
of the IDD code.
Example usage:
final idd = Idd(root: 3, suffixes: [81]);
print(idd); // Prints: "Idd(root: 3, suffixes: [81])"
- Implemented types
- Available Extensions
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{JsonCodec codec = const JsonCodec()}) → String -
Returns a JSON-encoded string representation of the object.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant Idd other) → bool -
The equality operator.
override