FileOptions class
Properties
cacheControl
→ String
The number of seconds the asset is cached in the browser and
in the Supabase CDN. This is set in the Cache-Control: max-age=<seconds>
header.
final
contentType
→ String ?
Used as Content-Type
Gets parsed with MediaType.parse(mime)
final
hashCode
→ int
The hash code for this object.
no setter inherited
Optionally add extra headers.
final
metadata
→ Map <String , dynamic > ?
The metadata option is an object that allows you to store additional
information about the file. This information can be used to filter and
search for files.
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
upsert
→ bool
When upsert is set to true, the file is overwritten if it exists.
When set to false, an error is thrown if the object already exists.
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