PhoneContent class final
A phone number to call (tel:, facetime:, facetime-audio:).
- Inheritance
-
- Object
- BarcodeContent
- PhoneContent
Constructors
- PhoneContent(String number, {CallType type = CallType.voice})
-
Creates phone content.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPayload(
) → String -
tel:+12125551234(facetime:,facetime-audio:). Visual separators (spaces,-,., brackets) are removed;+, digits,*and#are kept.override -
toString(
) → String -
A string representation of this object.
override
-
validate(
) → List< ContentIssue> -
The problems that keep toPayload from building this value, such as
an empty network name or a latitude out of range. Empty when the value
can be built. For forms: show each ContentIssue.message next to its
ContentIssue.field.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override