ImageFileMessageContent class

Image file content in a message.

Implemented types
Annotations
  • @immutable

Constructors

ImageFileMessageContent({required ImageFile imageFile})
Creates an ImageFileMessageContent.
const
ImageFileMessageContent.fromJson(Map<String, dynamic> json)
Creates an ImageFileMessageContent from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
imageFile ImageFile
The image file details.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of this content.
no setteroverride

Methods

copyWith({ImageFile? imageFile}) ImageFileMessageContent
Creates a copy with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override