TextWithImages class final

Text with images inside it, such as "Is this the dog in photo?" followed by a picture. Encodes as one string, each image replaced by its reference.

Experimental, like Image.

Implemented types
Annotations
  • @experimental
  • @immutable

Constructors

TextWithImages(List<Object> parts)
parts are Strings and Images, joined in order with nothing added between them.

Properties

hashCode → int
The hash code for this object.
no setterinherited
parts → List<Object>
The strings and images, in order. Unmodifiable.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
Returns this object in the API's JSON shape.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited