MediaAttachment class

Describes MediaAttachment class.

Inheritance

Constructors

MediaAttachment()
MediaAttachment.fromJSON(Map<String, dynamic> json)

Properties

base64Image String?
getter/setter pair
base64Video String?
getter/setter pair
gifUrl String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageUrl String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoUrl String?
getter/setter pair

Methods

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

Operators

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

Static Methods

withBase64Image(String base64Image) → dynamic
Create an attachment with Base64 encoded image.
withBase64Video(String base64Video) → dynamic
Create an attachment with Base64 encoded video.
withImageUrl(String imageUrl) → dynamic
Create an attachment with image URL. imageUrl image URL.
withVideoUrl(String videoUrl) → dynamic
Create an attachment with video URL.