FileData class

Datos necesarios para compartir un archivo con ShareMe.file.

Incluye el nombre visible, el tipo MIME y los bytes del archivo.

Constructors

FileData({required String name, required String mimeType, required Uint8List file})
Crea una instancia con el nombre, tipo MIME y datos del archivo.

Properties

file Uint8List
Bytes del archivo a compartir.
final
hashCode int
The hash code for this object.
no setterinherited
mimeType String
Tipo MIME del contenido, por ejemplo image/png o application/pdf.
final
name String
Nombre del archivo que se mostrará en las hojas de compartir.
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