ViamImage class Viam SDK

A custom image type that contains the MimeTYpe, raw image data, and lazily loads and caches an img.Image.

Constructors

ViamImage(List<int> raw, MimeType mimeType)

Properties

hashCode int
The hash code for this object.
no setterinherited
image Image?
The decoded image, if available. If the MimeType is not supported, this will be null.
no setter
mimeType MimeType
The mimetype of the image
final
raw List<int>
The raw bytes of the image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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