FunctionBundle class

Source files + entrypoint for one bundled Edge Function.

Constructors

FunctionBundle({required String entrypoint, required Map<String, String> files})
const

Properties

entrypoint String
Path of the file the Supabase runtime should execute (e.g. index.ts). Must be a key in files.
final
files Map<String, String>
Relative file path → file contents. Every source file is uploaded to the Management API so the function can import its siblings.
final
hashCode int
The hash code for this object.
no setterinherited
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