ThemedFile class

Constructors

ThemedFile({required String name, String? path, required Uint8List bytes})
ThemedFile is a wrapper around Uint8List that adds a name and path to the file.

Properties

bytes Uint8List
bytes is the bytes of the file.
final
hashCode int
The hash code for this object.
no setterinherited
mimeType String?
mimeType returns the mime type of the file.
no setter
name String
name is the name of the file.
final
path String?
path is the path of the file. Only will return a value on native platforms (Android, iOS, Windows, macOS, Linux)
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.
override

Operators

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