Photo class

Constructors

Photo()

Properties

hashCode int
The hash code for this object.
no setterinherited
isBase64 bool?
getter/setter pair
mediaType String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
getter/setter pair

Methods

attachFromUrl(dynamic url, dynamic mediaType) → dynamic
Attach a photo from a URL @param {string} url URL where photo can be found @param {string} mediaType Media type of photo (JPEG, PNG, GIF)
embedFromFile(String imageFileUri) → dynamic
Embed a photo from a file using base-64 encoding @param {string} filename
embedFromString(dynamic base64String, dynamic mediaType) → dynamic
Embed a photo from a base-64 string @param {string} base64String
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