FileMessage class

Represents a message containing a file.

The file is represented by its data, name, type, and size.

Inheritance

Constructors

FileMessage({required String content, String? name, String? type, String? size})
Creates a new instance of FileMessage.
FileMessage.fromJson(Map<String, dynamic> json)
Creates a new instance of FileMessage 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