MessageMedia class

Constructors

MessageMedia(String _sid, String? _fileName, String? _type, int _size)
MessageMedia.fromMap(Map<String, dynamic> map)
Construct from a map.
factory

Properties

fileName → String?
Get file name of media stream.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sid → String
Get SID of media stream.
no setter
size → int
Get size of media stream.
no setter
type → String?
Get mime-type of media stream.
no setter

Methods

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

Operators

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