Promotion class
Promotion result.
Constructors
-
Promotion({List<
PromotionBodyLines> ? bodyLines, String? displayLink, String? htmlTitle, PromotionImage? image, String? link, String? title}) - Promotion.fromJson(Map json_)
Properties
-
bodyLines
↔ List<
PromotionBodyLines> ? -
An array of block objects for this promotion.
getter/setter pair
- displayLink ↔ String?
-
An abridged version of this search's result URL, e.g. www.example.com.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- htmlTitle ↔ String?
-
The title of the promotion, in HTML.
getter/setter pair
- image ↔ PromotionImage?
-
Image belonging to a promotion.
getter/setter pair
- link ↔ String?
-
The URL of the promotion.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
The title of the promotion.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited