VCardTelephone class
The canonical number string for a telephone number for telephony communication with the vCard object.
Constructors
-
VCardTelephone({bool preferred = false, required List<
VCardIdentifier> types, required String value, List<String> ? ext}) - Default constructor
- VCardTelephone.fromPlainText(String plainText, [VCardVersion version = VCardVersion.v3])
-
Constructor from the plain text.
factory
Properties
-
ext
→ List<
String> ? -
Extension, if any
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preferred → bool
-
Indicates if the address is preferred
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
→ List<
VCardIdentifier> -
Indicates the types
final
- value → String
-
Phone number
final
Methods
-
copyWith(
{bool? preferred, List< VCardIdentifier> ? types, String? value, List<String> ? ext}) → VCardTelephone -
Creates a copy of this
VCardTelephone
but with the given fields replaced with the new values. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPlainText(
[VCardVersion version = VCardVersion.v3]) → String -
A plain text representation of the
VCardTelephone
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited