SchemaContactPoint class
A contact point—for example, a Customer Complaints department. See https://schema.org/ContactPoint
Constructors
- SchemaContactPoint.new({dynamic areaServed, dynamic availableLanguage, SchemaContactPointOption? contactOption, String? contactType, String? email, String? faxNumber, SchemaOpeningHoursSpecification? hoursAvailable, dynamic productSupported, dynamic serviceArea, String? telephone, String? additionalType, String? alternateName, dynamic description, String? disambiguatingDescription, dynamic identifier, dynamic image, dynamic mainEntityOfPage, String? name, SchemaAction? potentialAction, String? sameAs, dynamic subjectOf, String? url})
- Create a new instance of SchemaContactPoint
Properties
- additionalType ↔ String?
-
//schema.org/docs/styleguide.html">style guide. Supported
types: String, String
getter/setter pair
- alternateName ↔ String?
-
An alias for the item.
getter/setter pair
- areaServed ↔ dynamic
-
The geographic area where a service or offered item is provided.
Supported types:
AdministrativeArea
,GeoShape
,Place
, Stringgetter/setter pair - availableLanguage ↔ dynamic
-
//tools.ietf.org/html/bcp47) See also [
inLanguage
]. Supported types:Language
, Stringgetter/setter pair - contactOption ↔ SchemaContactPointOption?
-
An option available on this contact point (e.g a toll-free
number or support for hearing-impaired callers).
getter/setter pair
- contactType ↔ String?
-
A person or organization can have different contact points, for
different purposes For example, a sales contact point, a PR
contact point and so on This property is used to specify the
kind of contact point.
getter/setter pair
- description ↔ dynamic
-
A description of the item. Supported types: String,
TextObject
getter/setter pair - disambiguatingDescription ↔ String?
-
A sub property of description A short description of the item
used to disambiguate from other, similar items Information from
other properties (in particular, name) may be necessary for the
description to be useful for disambiguation.
getter/setter pair
- email ↔ String?
-
Email address.
getter/setter pair
- faxNumber ↔ String?
-
The fax number.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoursAvailable ↔ SchemaOpeningHoursSpecification?
-
The hours during which this service or contact is available.
getter/setter pair
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for
any kind of [
Thing
], such as ISBNs, GTIN codes, UUIDs etc Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links See background notes for more details Supported types:PropertyValue
, String, Stringgetter/setter pair - image ↔ dynamic
-
An image of the item This can be a [
URL
] or a fully described [ImageObject
]. Supported types:ImageObject
, Stringgetter/setter pair - mainEntityOfPage ↔ dynamic
-
Indicates a page (or other CreativeWork) for which this thing is
the main entity being described See background
notes for details.
Supported types:
CreativeWork
, Stringgetter/setter pair - name ↔ String?
-
The name of the item.
getter/setter pair
- potentialAction ↔ SchemaAction?
-
Indicates a potential Action, which describes an idealized
action in which this thing would play an 'object' role.
getter/setter pair
- productSupported ↔ dynamic
-
The product or service this support contact point is related to
(such as product support for a particular product line) This can
be a specific product or product line (e.g "iPhone") or a
general category of products or services (e.g "smartphones").
Supported types:
Product
, Stringgetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameAs ↔ String?
-
URL of a reference Web page that unambiguously indicates the
item's identity E.g the URL of the item's Wikipedia page,
Wikidata entry, or official website.
getter/setter pair
- serviceArea ↔ dynamic
-
The geographic area where the service is provided. Supported
types:
AdministrativeArea
,GeoShape
,Place
getter/setter pair - subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing. Supported types:
CreativeWork
, Eventgetter/setter pair - telephone ↔ String?
-
The telephone number.
getter/setter pair
- url ↔ String?
-
URL of the item.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → Map< String, dynamic> - Serialize SchemaContactPoint to JSON-LD
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited