FileSyncReference class

A reference to a binary file/blob stored in cloud storage. The FileSyncProvider (not in 2.0.0 — stub) is responsible for the actual upload/download.

Constructors

FileSyncReference({required String tableName, required String pk, required String field, required String remoteUrl, required int sizeBytes, required String contentType})
Creates a FileSyncReference.
const

Properties

contentType → String
The MIME content type.
final
field → String
The field name (e.g. 'photo', 'pdf').
final
hashCode → int
The hash code for this object.
no setterinherited
pk → String
The primary key of the row that owns this file.
final
remoteUrl → String
The remote URL where the file is stored.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes → int
The file size in bytes.
final
tableName → String
The local table name.
final

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