FileMeta class

A stored file, as the upload returns it. Set a file field to filename to attach it to a record.

Constructors

FileMeta({required String id, required String filename, required String originalName, required int size, required String mimeType})
const
FileMeta.fromJson(Map<String, dynamic> json)
factory

Properties

filename → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
mimeType → String
final
originalName → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
final

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