FunctionsClient class
Client for calling Nhost serverless functions.
See https://docs.nhost.io/platform/serverless-functions for more info.
Constructors
- FunctionsClient({required String baseUrl, required UserSession session, required Client httpClient})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callFunction(
String url, {Map< String, String?> ? query, Map<String, dynamic> ? jsonBody, String httpMethod = 'post'}) → Future<Response> -
Invokes the serverless function at
url
. -
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