TeadsRecommendationThumbnail class

A thumbnail image attached to a TeadsRecommendation.

Matches Android's OBThumbnail and iOS's OBImageInfo. isGif is Android-only (no iOS counterpart) and is deliberately not exposed here — see TeadsRecommendation for why the wrapper only surfaces fields present on both platforms.

Constructors

TeadsRecommendationThumbnail({String? url, int width = 0, int height = 0})
const
TeadsRecommendationThumbnail.fromMap(Map map)
Decodes the map the native side sends.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int
The image height in pixels, or 0 if native did not report one.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String?
The image URL.
final
width → int
The image width in pixels, or 0 if native did not report one.
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