ImageMessage class

Represents a message containing an image.

The image is represented by its data, name, and size.

Inheritance

Constructors

ImageMessage({required String content, String? name, String? size})
Creates a new instance of ImageMessage.
ImageMessage.fromJson(Map<String, dynamic> json)
Creates a new instance of ImageMessage from a JSON map.
factory

Properties

compositeContent ↔ dynamic
getter/setter pairinherited
content ↔ String?
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
info ↔ Info?
getter/setter pairinherited
reference ↔ String?
getter/setter pairinherited
replyContent ↔ dynamic
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String
getter/setter pairinherited

Methods

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

Operators

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