FileOptions class

Constructors

FileOptions({String cacheControl = '3600', bool upsert = false, String? contentType})
const

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 setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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

Operators

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