MapboxAd class
Constructors
-
MapboxAd(AdGeometry point, String id, String name, String address, String? featureId, String phoneNumber, String iconUrl, Map<
MBPOptionActionType, String> externalLinks, {String? addressRemark, List<String> ? categories, String? title, String? summary, String? businessHours, String? businessHoursRemark, Uri? url, String? bannerUrl, bool news = false, bool products = false, bool media = false})
Properties
- address → String
-
The address of the pin
final
- addressRemark → String?
-
The additional information for the address
final
-
The banner image url of the pin
final
- businessHours → String?
-
The business hours following OpenStreetMap's opening_hours key format
@see more details.
final
- businessHoursRemark → String?
-
The additional information for the businessHours
final
-
categories
→ List<
String> ? -
The list of category of the pin
final
-
externalLinks
→ Map<
MBPOptionActionType, String> -
The map of external links and types.
final
- featureId → String?
-
The feature id of the pin
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconUrl → String
-
The icon image url of the pin
final
- id → String
-
The unique id
final
- media → bool
-
True if the media is enabled.
final
- name → String
-
The name of the card. If title is null, this will be shown as pin's title.
final
- news → bool
-
True if the news is enabled.
final
- phoneNumber → String
-
The phone number of the pin
final
- point → AdGeometry
-
The mapbox point object have coordinates
final
- products → bool
-
True if the products is enabled.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- summary → String?
-
The summary of the pin
final
- title → String?
-
The title of pin. If this is null, name will be shown as pin's title.
final
- url → Uri?
-
The ad url of the pin
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
-
actionType(
String title) → MBPOptionActionType? -
parse(
AdFeature feature, PMEManager? pme) → MapboxAd?