Image class

The image response message.

Inheritance

Constructors

Image({String platform, String imageUri, String accessibilityText})

Properties

accessibilityText String
A text description of the image to be used for accessibility, e.g., screen readers.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
imageUri String
The public URI to an image file.
final
platform String
The platform that this message is intended for. See Platform.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromJson(Map<String, dynamic> json) Image
override